mirror of
https://github.com/ConjureETS/LOG750-LAB2.git
synced 2026-03-25 12:01:21 +00:00
saturate that shit up
This commit is contained in:
parent
c27d8d5bc7
commit
a2b7b58b68
@ -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));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user