There is a newer version of this op!
This version will not receive any updates. It is recommended to use a newer version.
Current version: Ops.Gl.Phong.DirectionalLight_v5
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.
doc
issues
example patch id
youtube id
caniuse query
collections
Inputs
Trigger In (Trigger)
Trigger input
Direction
X (Number)
Direction X
Y (Number)
Direction Y
Z (Number)
Direction Z
Color
R (Number)
R color channel
G (Number)
G color channel
B (Number)
B color channel
Specular Color
Specular R (Number)
specular reflection color channel R
Specular G (Number)
specular reflection color channel G
Specular B (Number)
specular reflection color channel B
Light Attributes
Intensity (Number)
intensity of the directional light
Radius (Number)
effective radius of the directional light
Falloff (Number)
falloff within the effective radius
Outputs
Trigger Out (Trigger)
Trigger output
Patches using DirectionalLight_v4
Changelog
Ops.User.simod.DirectionalLight_v2 renamed to Ops.Admin.DirectionalLight_v2
2019-10-09 - simod
Ops.Admin.DirectionalLight_v2 renamed to Ops.Gl.Phong.DirectionalLight_v4
2019-11-05 - pandur
2019-10-09 - simod
Ops.Admin.DirectionalLight_v2 renamed to Ops.Gl.Phong.DirectionalLight_v4
2019-11-05 - pandur