mirror of
https://github.com/ConjureETS/LOG750-LAB2.git
synced 2026-03-24 03:21:19 +00:00
saturate that shit up
This commit is contained in:
parent
c27d8d5bc7
commit
a2b7b58b68
@ -15,7 +15,8 @@ void
|
||||
main()
|
||||
{
|
||||
if(isSky) {
|
||||
fColor = texture(skybox, texCoords);
|
||||
vec4 c = texture(skybox, texCoords);
|
||||
fColor = normalize(c*c*c*2/1.41)*2;
|
||||
} else if(isPhong) {
|
||||
// Get lighting vectors
|
||||
vec3 LightDirection = normalize(vec3(1,3,1));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user