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.
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Caniuse query
Inputs
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
Outputs
trigger output
generated shadow map output
Patches using DirectionalLight_v5
Changelog
Ops.User.cables.ShadowDirectionalLightCGL renamed to Ops.Admin.ShadowDirectionalLightCGL 2020-04-23 - cables | |
Ops.Admin.ShadowDirectionalLightCGL renamed to Ops.Gl.Phong.DirectionalLight_v5 2020-07-29 - pandur |