DirectionalLight_v5 Op
Directional light for phong shading
Summary (oneliner)
This light illuminates the whole scene. It does not have a position, only a direction. You can think of it as a sunlight.
- Ops.Gl.Phong.DirectionalLight_v5
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
INPUT PORTS
Trigger input
Light Attributes
intensity of the directional light
Direction
Direction X
Direction Y
Direction Z
Color
R color channel
G color channel
B color channel
Specular Color
specular reflection color channel R
specular reflection color channel G
specular reflection color channel B
if activated, light will generate a shadow map to be used with the shadow material extension
Shadow Map Settings
index of the map size
Shadow Map Settings
the size of the generated shadow map, possible values: 256, 512, 1024, 2048
strength of the shadows
L, R, Bottom and Top culling of the shadow map camera's frustum
near culling of the shadow map camera's frustum
far culling of the shadow map camera's frustum
biasing for the shadow comparison, refer to the shadow op for an in depth explanation
polygon offset for the shadow map rendering, refer to the shadow op for an in depth explanation
normal offset for the shadow map rendering, refer to the shadow op for an in depth explanation
blur factor for the VSM shadow algorithm, refer to the shadow op for an in depth explanation
Advanced Options
Advanced Options
MSAA factor
Advanced Options
texture filter type
Advanced Options
anisotropic factor
OUTPUT PORTS
trigger output
generated shadow map output