PDA

View Full Version : texture2DProj to project a section of a texture



Vexator
05-23-2007, 11:38 AM
can i setup texture2DProj to project only a section of a texture? or is there another way to do this w/o multiple samplers? thanks :)

Vexator
05-28-2007, 09:27 AM
*bump*

arekkusu
05-28-2007, 11:07 AM
I guess that depends if you know what the section of the texture is.

if (this fragment should be projected)
texture2DProj()
else
texture2D()