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

TextureProjection_v2 Op

TextureProjection

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.


Edit Documentation

Full Name
  • Ops.Gl.ShaderEffects.TextureProjection_v2
Visibility
  • Core Op - Official cables op
AuthorTest Patches


 

Example Patch TextureProjection op example

Open In Editor

Youtube Video Tutorial

INPUT PORTS


render (Trigger)
Texture (Object:texture)

currently texture is auto sized to a square ratio

Blending

blendMode index (Number:integer )
Amount (Number)

strength of texture colors or pointsize values

Target index (Number:integer )

color or pointsize

Scale (Number)

rescale incoming texture

Use Texture Alpha (Number:boolean )

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 (Number:integer )

XY, XZ, YZ, or screenspace

Discard (Number:boolean )

limit repeat of texture

WorldSpace (Number:boolean )

use world position coordinates

OUTPUT PORTS


trigger (Trigger)

Usages of TextureProjection_v2

  • Examples
  • Public
  • My Patches
  • Ops

Changelog


Ops.User.pandur.MapTextureLayer renamed to Ops.Gl.ShaderEffects.TextureProjectionuser avatarpandur - 2020-07-26
added core lib: cgl_shadermodifieruser avatarpandur - 2020-07-26
cloned op from Ops.Gl.ShaderEffects.TextureProjectionuser avatarpandur - 2022-08-29
Ops.User.pandur.TextureProjection2 renamed to Ops.Gl.ShaderEffects.TextureProjection_v2user avatarpandur - 2022-08-31