OpenGL eye position to texture space

89 views Asked by At


I'm following this tutorial by nVidia for implementing a fluid simulation, however i'm confused about this part in the the ray marching algorithm section.

The ray direction is given by the vector from the eye to the entry point (both in texture space).

I already have the coordinates for the ray entry points so that's not an issue, but i don't understand how can i get the eye position in texture space.

0

There are 0 answers