If you increase the gamma constant in phong.fs you get a better sense of where the light is coming from. When this was done the following block was displayed:
In this you can tell that the light is shading all of the faces in disparate corners. It is possible that the corners are reversed or backwards somehow. Or that it is rendering all of the faces the same, or any number of other things. :(
If you increase the
gamma
constant inphong.fs
you get a better sense of where the light is coming from. When this was done the following block was displayed:In this you can tell that the light is shading all of the faces in disparate corners. It is possible that the corners are reversed or backwards somehow. Or that it is rendering all of the faces the same, or any number of other things. :(