saturate that shit up

This commit is contained in:
Dmitri K 2016-11-09 23:25:23 -05:00
parent c27d8d5bc7
commit a2b7b58b68

View File

@ -15,7 +15,8 @@ void
main() main()
{ {
if(isSky) { if(isSky) {
fColor = texture(skybox, texCoords); vec4 c = texture(skybox, texCoords);
fColor = normalize(c*c*c*2/1.41)*2;
} else if(isPhong) { } else if(isPhong) {
// Get lighting vectors // Get lighting vectors
vec3 LightDirection = normalize(vec3(1,3,1)); vec3 LightDirection = normalize(vec3(1,3,1));