texture size

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

http://www.opengl.org/discussion_boards/ubb/Forum2/HTML/010602.html

Someone else just asked about it.

Anitox

but did this work for automatic texture coordinate generation?