Sample Position to UV
The Sample Pos. to UV projection type converts the screen space position of the current sample to the UVW coordinate (figure 1). This projection type is designed to be used with the Global Texture AOV. This projection is simple and can be used to create masks for compositing on-the-fly. This is not the same as screen space projection, which maps the sample position in world space into screen space.
|
Sample Position To UV |
Figure 1: Projecting a Check texture using the Sample Pos. to UV node as the projection type
The Compatibility mode has options for Default and 2021.1 where the u-axis is inverted when used as an input to an environment or emission distribution texture.