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

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.SpotLight_v5

spot light for phong shading

summary (oneliner)

The spot light basically is a point light, with the difference that you can set an angle to control where the light gets cut off.

doc

issues

youtube id

collections

related ops

Inputs

Trigger In (Trigger)

Trigger input


Light Attributes

Intensity (Number)

intensity of the spotlight


Radius (Number)

effective radius of the spot light


Position

X (Number)

X position of the light


Y (Number)

Y position of the light


Z (Number)

Z position of the light


Point At

Point At X (Number)

where the light points at X


Point At Y (Number)

where the light points at Y


Point At Z (Number)

where the light points at Z


Color

R (Number)

diffuse color channel R


G (Number)

diffuse color channel G


B (Number)

diffuse color channel B


Specular Color

Specular R (Number)

specular color channel R


Specular G (Number)

specular color channel G


Specular B (Number)

specular color channel B


Cone Attributes

Cone Angle (Number)

outter cone angle of the spot light


Inner Cone Angle (Number)

inner cone angle (soft shadow area) of the spot light


Spot Exponent (Number)

appearance of the spot light


Falloff (Number)

falloff in respect to effective radius


Outputs

Trigger Out (Trigger)

Trigger output


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
SpotLight - example:

Spot light example patch.



Credits


Changelog


Ops.User.simod.SpotLight_v2 renamed to Ops.Admin.SpotLight_v2
2019-10-09 - simod

Ops.Admin.SpotLight_v2 renamed to Ops.Gl.Phong.SpotLight_v4
2019-11-05 - pandur

Examples using SpotLight_v4

Public Patches using SpotLight_v4