SaturnRingLibrary
0.9
SGL wrapper
Loading...
Searching...
No Matches
◆
SetDirectionalLight()
static void SRL::Scene3D::SetDirectionalLight
(
const
SRL::Math::Types::Vector3D
&
direction
)
inline
static
Set directional light source.
Note
If scaling operation is being performed on current matrix, normal vector of the polygon is also being affected,thus brightness will change accordingly.
Parameters
direction
Light direction unit vector
SRL
Scene3D