Merged in davep/BUG-228263 (pull request #24)

Fix for sky in wrong color space.
meow-7.2.2
Dave Parks 2020-03-06 19:55:06 +00:00
commit ce8bf1a3f3
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ vec3 post_diffuse = color.rgb;
vec3 post_spec = color.rgb;
color.rgb = mix(color.rgb, diffuse_linear.rgb, diffuse_linear.a);
color.rgb = mix(color.rgb, diffuse_srgb.rgb, diffuse_srgb.a);
if (envIntensity > 0.0)
{ //add environmentmap

View File

@ -162,7 +162,7 @@ vec3 post_diffuse = color.rgb;
vec3 post_spec = color.rgb;
color.rgb = mix(color.rgb, diffuse_linear.rgb, diffuse_linear.a);
color.rgb = mix(color.rgb, diffuse_srgb.rgb, diffuse_srgb.a);
if (envIntensity > 0.0)
{ //add environmentmap