Merge branch 'master' of https://github.com/supertuxkart/stk-code
This commit is contained in:
commit
1f4e697e48
@ -16,5 +16,6 @@ void main(void)
|
||||
vec3 SpecularComponent = texture(SpecularMap, tc).xyz;
|
||||
float ao = texture(SSAO, tc).x;
|
||||
vec3 LightFactor = ao * ambient + DiffuseComponent + SpecularComponent * (1. - color.a);
|
||||
FragColor = vec4(color.xyz * LightFactor, 1.);
|
||||
|
||||
FragColor = vec4(color.xyz * LightFactor * ao, 1.);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user