SpotLight_v5 Op
spot light that emits a cone of light
Summary (oneliner)
<p>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.</p>
- 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
<p>Trigger input</p>
Light Attributes
<i>boolean</i>
)<p>intensity of the spotlight</p>
<p>effective radius of the spot light</p>
Position
<p>X position of the light</p>
<p>Y position of the light</p>
<p>Z position of the light</p>
Point At
<p>where the light points at X</p>
<p>where the light points at Y</p>
<p>where the light points at Z</p>
Color
<p>diffuse color channel R</p>
<p>diffuse color channel G</p>
<p>diffuse color channel B</p>
Specular Color
<p>specular color channel R</p>
<p>specular color channel G</p>
<p>specular color channel B</p>
Cone Attributes
<p>outter cone angle of the spot light, this parameter affects the camera of the shadow mapping</p>
<p>inner cone angle (soft area) of the spot light's cutoff</p>
<p>appearance of the spot light</p>
<p>falloff in respect to effective radius</p>
<i>boolean</i>
)<p>if activated, light will generate a shadow map to be used with the shadow material extension</p>
Shadow Map Settings
<i>boolean</i>
)<p>strength of the shadows</p>
OUTPUT PORTS
<p>trigger output</p>
<p>generated shadow map output</p>
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 |