1
0
mirror of synced 2025-01-19 01:14:08 +01:00

Add support for viewing GFBMDL ambient occusion maps (amb, red channel inverted)

This commit is contained in:
KillzXGaming 2019-12-19 20:00:06 -05:00
parent b2baf9b449
commit b1cf8a25a9

View File

@ -167,7 +167,7 @@ void main()
float unknown = texture(AmbientMap, ambientUV).g; //Unsually black
float ambient = texture(AmbientMap, ambientUV).b;
ao = ambient + 0.5;
ao = 1 - intensity;
}
vec3 emissionTerm = vec3(0);