Closed ajon542 closed 8 years ago
Not entirely sure why this isn't an error or why it appears to work. Definitely something interesting to investigate.
This is an interesting issue because if we then pass in the eye position things don't appear to work. The problem here is there is no example to compare against so I don't even know what to expect from this shader. It would be nice if samples from the net provided an example scene to compare against.
In the ADSExample we are passing a Matrix4 to the fragment shader which is expecting a Vec3.