nw::gfx::SceneEnvironment::SetVertexLight Member Function

Syntax

void SetVertexLight(
     VertexLight * light
);

Arguments

Name Description
in light Vertex light to set.

Return Values

None.

Description

Sets a vertex light.

All light source types treat the direction as the orientation of the light. Parallel light sources do not reference the position value.

OpenGL treats the opposite of the "position" parameter as the direction of parallel light sources. In contrast, the CTR's graphics system uses the "direction" parameter as is.


CONFIDENTIAL