Simple question about getting viewport transform for irridescent shading.
Hi,
I'm very new to OpenGL. I want to create an object whose vertices are colored based on the angle they are from the viewer.
So basically I need to find what angle a vertex is given the current view transform, what is the best way to calculate this information? How do access the view transform info.
-Salik
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement