commit
ce8bf1a3f3
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue