injectGlobalPosition
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
-
Enable
:
Inputs
-
definition_in
: (required)- Coordinate Types:
float
vec2
vec3
- Context Types:
Context
- Return Types:
float
vec4
Sdf
Ray
Light
Particle
- Coordinate Types: