Skip to content

Commit

Permalink
chore: decrease specular
Browse files Browse the repository at this point in the history
  • Loading branch information
doodlum committed Feb 20, 2025
1 parent ca1add7 commit e6458a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package/Shaders/Lighting.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -2534,12 +2534,12 @@ PS_OUTPUT main(PS_INPUT input, bool frontFace

# if defined(SPECULAR)
# if defined(EMAT_ENVMAP)
specularColor = 2.0 * (specularColor * glossiness * MaterialData.yyy) * lerp(SpecularColor.xyz, complexSpecular, complexMaterial);
specularColor = 1.5 * (specularColor * glossiness * MaterialData.yyy) * lerp(SpecularColor.xyz, complexSpecular, complexMaterial);
# else
specularColor = 2.0 * (specularColor * glossiness * MaterialData.yyy) * SpecularColor.xyz;
specularColor = 1.5 * (specularColor * glossiness * MaterialData.yyy) * SpecularColor.xyz;
# endif
# elif defined(SPARKLE)
specularColor *= 2.0 * glossiness;
specularColor *= 1.5 * glossiness;
# endif // SPECULAR

# if defined(SNOW)
Expand Down

0 comments on commit e6458a4

Please sign in to comment.