SpotLight_v5 Op
spot light that emits a cone of light
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.
- Ops.Gl.Phong.SpotLight_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 spotlight
effective radius of the spot light
Position
X position of the light
Y position of the light
Z position of the light
Point At
where the light points at X
where the light points at Y
where the light points at Z
Color
diffuse color channel R
diffuse color channel G
diffuse color channel B
Specular Color
specular color channel R
specular color channel G
specular color channel B
Cone Attributes
outter cone angle of the spot light, this parameter affects the camera of the shadow mapping
inner cone angle (soft area) of the spot light's cutoff
appearance of the spot light
falloff in respect to effective radius
if activated, light will generate a shadow map to be used with the shadow material extension
Shadow Map Settings
strength of the shadows
OUTPUT PORTS
trigger output
generated shadow map output
Patches using SpotLight_v5
Changelog
Ops.User.cables.ShadowSpotTestLightCGL renamed to Ops.Admin.ShadowSpotLightCGL | cables - 2020-04-23 17:02 | |
added core lib: vargetset | stephan - 2020-05-20 12:02 | |
added core lib: cgl_functions | stephan - 2020-05-26 14:18 | |
Ops.Admin.ShadowSpotLightCGL renamed to Ops.Gl.Phong.SpotLight_v5 | pandur - 2020-07-29 22:49 |