nw::gfx::SceneEnvironment::SetVertexLight Member Function
void SetVertexLight(
VertexLight * light
);
| Name | Description | |
|---|---|---|
| in | light | Vertex light to set. |
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