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

Test Patches: 1 Test

Transform and repeat texture coordinates of a mesh via vertex shader


Example:

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

A mesh of 2 height will be twisted 360 degree !



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 Documentation 

Transform Texture Coordinates

Transform Texture Coordinates is a handy op that goes under your material and allows you to modify how your texture is mapped onto your object.

You can use this to quickly setup repeating textures by adjusting the repeat settings and scale your texture maps to a more believable realworld scale- for example highres brickwork textures on a wall. You can also get creative scrolling effects or come up with special effects that use one texture to drastically change how your 3d model is textured.

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