beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

DirectionalLight_v4 Op

Ops.Gl.Phong.DirectionalLight_v4


DirectionalLight

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

related ops

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


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

DirectionalLight example

Example for the DirectionalLight op.

Open Example In Editor


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