I have made a model in max which i export in .OBJ format and can load into a program i made in openGL. Now, i want also the indirect light from max in my openGL program so my plan is to do a "render to texture" in max with this illumination. But how do i get some UV coordinates from max i can use as lookup in opengl for this texture? I know that in the OBJ file there is some uvw coordinates but how can i get them to relate to the rendered texture? Or is there some other easier way to get some some lookup coordinates exported for such a texture? I have looked into the uvw unwrap modifier but im still lost.