output::setUV2
Sets the second UV coordinate set for the rendered output mesh.
Declaration
void output::setUV2(float4 value)Parameters
- value:
The UV coordinate value to assign to all vertices in the output range.
Discussion
This function assigns a custom UV coordinate to the second texture coordinate channel of the output mesh. If the mesh doesn’t already have a UV2 channel, it will be created. This enables multi-texturing and advanced shader effects.