Helloo..
I have a doubt regarding the normalised texture address of an Npot texture inside a shader. Say am passing a npot texture of size 420 X 420 to an Opengl shader. Then can i get back the texture position by multiplying address with dimension of texture??
My need is to identify the even and odd texture addresses of an npot texture inside a shader.
Thankzzz
I have a doubt regarding the normalised texture address of an Npot texture inside a shader. Say am passing a npot texture of size 420 X 420 to an Opengl shader. Then can i get back the texture position by multiplying address with dimension of texture??
My need is to identify the even and odd texture addresses of an npot texture inside a shader.
Thankzzz