Skip to content

cameraPosition

uniform vec3 cameraPosition;

This uniform stores the position of the camera in world space. For more information on spaces, visit this how to article on the different spaces.