Fix vertex color for object_pass2
This commit is contained in:
parent
7bf6d4db8b
commit
d961a9a8bc
@ -8,7 +8,8 @@ vec3 getLightFactor(float specMapValue);
|
||||
|
||||
void main(void)
|
||||
{
|
||||
vec4 col = texture(Albedo, uv) * color;
|
||||
vec4 col = texture(Albedo, uv);
|
||||
col.xyz *= pow(color.xyz, vec3(2.2));
|
||||
vec3 LightFactor = getLightFactor(1.);
|
||||
FragColor = vec4(col.xyz * LightFactor, 1.);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user