nw::gfx::SceneEnvironment::SetFragmentLight Member Function

Syntax

void SetFragmentLight(
     FragmentLight * light
);

Arguments

Name Description
in light Fragment light to set.

Return Values

None.

Description

Sets a fragment 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