beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

TransformTextureCoordinates Op

Ops.Gl.ShaderEffects.TransformTextureCoordinates


TransformTextureCoordinates

Op author: pandur

Transform and repeat texture coordinates of a mesh via vertex shader


summary (oneliner)

Example:

Degree 180 / Height 1 will twist a mesh of 1 height 180 degree.

A mesh of 2 height will be twisted 360 degree !



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

render (Trigger)

Translate X (Number)

Translate Y (Number)

Repeat X (Number)

Repeat Y (Number)

Flip X (boolean /Number)

Flip Y (boolean /Number)

Outputs

Trigger (Trigger)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

TransformVertex

Allows you to rotate vertices in the vertex shader.

In this example instanced meshes are individually rotated, which is faster than rotating the instanced geometry itself.

Open Example In Editor


Youtube Video Tutorial

Patches using TransformTextureCoordinates

Changelog


Ops.User.pandur.Twist3 renamed to Ops.Gl.ShaderEffects.Twist_v3
2020-07-29 - pandur

cloned op from Ops.Gl.ShaderEffects.Twist_v3
2021-03-09 - pandur

Ops.User.pandur.TransformVertex renamed to Ops.Gl.ShaderEffects.TransformVertex
2021-03-09 - pandur

fix: can be stacked now
2022-01-31 - pandur

cloned op from Ops.Gl.ShaderEffects.TransformVertex
2022-05-18 - pandur

Ops.User.pandur.TransformTextureCoordinates renamed to Ops.Gl.ShaderEffects.TransformTextureCoordinates
2022-05-18 - pandur