injectGlobalPosition

utility
injectGlobalPosition
RayTK
v0.40

Calls its input using the untransformed global position.

This can be used for fields that are passed to other ops that are using downstream transforms to have the field use the raw global position while being used on an op that is transformed.

Parameters

Name Description Regular Handling Read-Only Handling
Enable

Inputs

  • definition_in: (required)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context
    • Return Types: float vec4 Sdf Ray Light Particle