Fixed too weak specular with HDR

This commit is contained in:
Robert Beckebans 2020-04-22 22:48:25 +02:00
parent 9823d989c8
commit f06484bc61
2 changed files with 2 additions and 2 deletions

View file

@ -124,7 +124,7 @@ void main( PS_IN fragment, out PS_OUT result )
const float roughness = 1.0 - glossiness;
half3 diffuseColor = diffuseMap;
half3 specularColor = specMap.rgb;
half3 specularColor = specMapSRGB.rgb; // RB: should be linear but it looks too flat
#endif

View file

@ -305,7 +305,7 @@ void main( PS_IN fragment, out PS_OUT result )
const float roughness = 1.0 - glossiness;
half3 diffuseColor = diffuseMap;
half3 specularColor = specMap.rgb;
half3 specularColor = specMapSRGB.rgb; // RB: should be linear but it looks too flat
#endif