directionalLight
A directional light.
The light always comes from the specified direction, rather than from a point.
Parameters
-
Direction
: -
Intensity
: -
Color
: -
Enable Shadow
:
Inputs
-
Color Field
: (optional)- Coordinate Types:
vec3
- Context Types:
LightContext
- Return Types:
float
vec4
- Coordinate Types: