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

TransformVertex Op

Ops.Gl.ShaderEffects.TransformVertex


TransformVertex

Op author: pandur

transform vertices 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

youtube id

caniuse query

collections

related ops

Inputs

render (Trigger)

Translate X (Number)

Translate Y (Number)

Translate Z (Number)

Scale X (Number)

Scale Y (Number)

Scale Z (Number)

Rotation X (Number)

Rotation Y (Number)

Rotation Z (Number)

Transform normals (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

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

Examples using TransformVertex ()

Public Patches using TransformVertex ()