SSAO is stronger now

This commit is contained in:
samuncle 2014-01-21 20:01:05 +01:00
parent 43e4db99b1
commit 5efa395acb

View File

@ -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.);
}