If no such binding exists, it converts the incoming position (
P) to the
The following space conversions are available:
Texture (string value "texture") Object (string value "object") Normalized Device Coordinate (string value "ndc") World (Unchanged) (string value "world")
The Texture option takes a position in world space and converts it to shader space. The Object option takes a position in world space and converts it to object space. The NDC option takes a position in world space and puts it in the normalized device coordinate space (screen space). The World option leaves the incoming data untouched.
If the position (
P) input is not connected, the global variable by the
same name will be used instead.