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

TextureProjection Op

Ops.Gl.ShaderEffects.TextureProjection


TextureProjection

Op author: pandur

texture projection on meshes


summary (oneliner)

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.



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

render (Trigger)

Scale (Number)

rescale incoming texture


Blendmode index (integer /Number)

normal, multiply, add


Target index (integer /Number)

color or pointsize


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)

Texture (Object)

currently texture is auto sized to a square ratio


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 Documentationcancel save

TextureProjection op example

Open Example In Editor


Youtube Video Tutorial

Patches using TextureProjection

Changelog


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

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