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.


Full Name
  • Ops.Gl.ShaderEffects.TextureProjection_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


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  Pointsize  Alpha 

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)

Patches using TextureProjection_v2

  • Examples
  • Public
  • My Patches

Changelog


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