14 Managing Shader Characteristics
Q3Shader_SetUVTransform
function to set the transform in uv parametric space.
TQ3Status Q3Shader_SetUVTransform ( TQ3ShaderObject shader, const TQ3Matrix3x3 *uvTransform);shader
A shader.uvTransform
A pointer to the desired transform in uv parametric space.
Q3Shader_SetUVTransform
function sets the transform in uv parametric space for the shader specified by the shader
parameter to the transform specified by the uvTransform
parameter. For example, a texture shader that relies on uv values to index a texture mapping can rotate, scale, or translate the texture by setting appropriate values in the uv transform.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker