VTexPos provides a texture coordinate representing the position on the underlying rendered geometry (currently only a full-screen rectangle). Unlike vertex coordinates such as those provided by VNormPos, texture coordinates vary from [0, 1] with 0, 0 in the upper-left hand corner. When rendering the full-screen rectangle they can be thought of as VFragCoord scaled to resolution-independent units. TexPos is most commonly seen as in input to the VSampler for rendering images.
Supported Rates: shape, pixel
Make a VTexPos VGen at requested rate.
dimensions
input | output |
none | 2 |
A texture coordinate usable in a ScinSampler.