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

TextureProjection_v2 Op

Ops.Gl.ShaderEffects.TextureProjection_v2


TextureProjection

Op author: pandur

texture projection on meshes


This op allows you to project a texture onto an object such as a 3D mesh or MeshInstancer or Pointcloud. Should be placed after assigning a material.

When using this op to control PointSize, you can use an HDR/32bit texture to allow you to force values outside of the 0-1 range. You can also use the Amount parameter with values outside of the 0-1 range by manually entering them into the parameter panel or connecting a number op.



Inputs

render (Trigger)
Texture (Object)

currently texture is auto sized to a square ratio

Scale (Number)

rescale incoming texture

Target index (integer /Number)

color or pointsize

Blending

blendMode index (integer /Number)
Amount (Number)

strength of texture colors or pointsize values

Use Texture Alpha (boolean /Number)

applies alpha channel from incoming texture.

Position

Pos X (Number)
Pos Y (Number)

Rotation

Rot X (Number)
Rot Y (Number)
Rot Z (Number)
Mapping index (integer /Number)

XY, XZ, YZ, or screenspace

Discard (boolean /Number)

limit repeat of texture

WorldSpace (boolean /Number)

use world position coordinates

Outputs

trigger (Trigger)
Caught a mistake or want to contribute to the documentation?

Edit Documentation 

TextureProjection op example

Open Example In Editor


Youtube Video Tutorial

Patches using TextureProjection_v2

Changelog


Ops.User.pandur.MapTextureLayer renamed to Ops.Gl.ShaderEffects.TextureProjection
2020-07-26 - pandur

added core lib: cgl_shadermodifier
2020-07-26 - pandur

cloned op from Ops.Gl.ShaderEffects.TextureProjection
2022-08-29 - pandur

Ops.User.pandur.TextureProjection2 renamed to Ops.Gl.ShaderEffects.TextureProjection_v2
2022-08-31 - pandur