RendererVariableManager class

RendererVariableManager class

This class manages variables used in rendering

The RendererVariableManager type exposes the following members:

Properties

PropertyDescription
world_timeTime in seconds
shadow_casterPosition of shadow caster in world coordinate system
shadowmapThe depth texture used for shadow mapping
matrix_light_spaceMatrix for light space transformation
matrix_view_projectionMatrix for view and projection transformation.
matrix_world_view_projectionMatrix for world view and projection transformation
matrix_worldMatrix for world transformation
matrix_world_normalMatrix for converting normal from object to world space.
matrix_projectionMatrix for projection transformation
matrix_viewMatrix for view transformation
camera_positionCamera’s position in world coordinate system
depth_biasDepth bias for shadow mapping, default value is 0.001
viewport_sizeSize of viewport, measured in pixel
world_ambientAmbient color defined in viewport.

See Also