SinglePass Lighting: fix light color not being used for specular highlight
This commit is contained in:
parent
957801ea12
commit
fd0832af98
@ -222,7 +222,7 @@ void main(){
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
gl_FragColor.rgb += DiffuseSum.rgb * lightColor.rgb * diffuseColor.rgb * vec3(light.x) +
|
gl_FragColor.rgb += DiffuseSum.rgb * lightColor.rgb * diffuseColor.rgb * vec3(light.x) +
|
||||||
SpecularSum2.rgb * specularColor.rgb * vec3(light.y);
|
SpecularSum2.rgb * lightColor.rgb * specularColor.rgb * vec3(light.y);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user