PDA

View Full Version : texture size



helda
11-13-2002, 07:48 AM
Hello

I want to have the depth value of my scene in respect of the light position. Then i want to save the depth values in a texture, but i have a window size of 480x340. But a texture should have the form 2^n?

so what can i do?

helda

Anitox
11-13-2002, 08:38 AM
http://www.opengl.org/discussion_boards/ubb/Forum2/HTML/010602.html

Someone else just asked about it.

Anitox

helda
11-13-2002, 10:34 PM
but did this work for automatic texture coordinate generation?