2D projective texture lookup. t is divided by its last component before the lookup takes place.
ret tex2Dproj(s, t) |
---|
Where:
Name | In/Out | Template Type | Component Type | Size |
---|---|---|---|---|
s | in | object | sampler2D | 1 |
t | in | vector | float | 4 |
ret | out | vector | float | 4 |
This intrinsic function is supported in the following (or above) shader versions:
Vertex Shader | Pixel Shader |
---|---|
n/a | ps_1_4 |