SpotLight_v5 Op

SpotLight

spot light that emits a cone of light


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


Full Name
  • Ops.Gl.Phong.SpotLight_v5
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


Example Patch SpotLight - example

Spot light example patch.

Open In Editor

INPUT PORTS


Trigger In (Trigger)

<p>Trigger input</p>

Light Attributes

Cast Light (Number:

<i>boolean</i>

)

Intensity (Number)

<p>intensity of the spotlight</p>

Radius (Number)

<p>effective radius of the spot light</p>

Position

X (Number)

<p>X position of the light</p>

Y (Number)

<p>Y position of the light</p>

Z (Number)

<p>Z position of the light</p>

Point At

Point At X (Number)

<p>where the light points at X</p>

Point At Y (Number)

<p>where the light points at Y</p>

Point At Z (Number)

<p>where the light points at Z</p>

Color

R (Number)

<p>diffuse color channel R</p>

G (Number)

<p>diffuse color channel G</p>

B (Number)

<p>diffuse color channel B</p>

Specular Color

Specular R (Number)

<p>specular color channel R</p>

Specular G (Number)

<p>specular color channel G</p>

Specular B (Number)

<p>specular color channel B</p>

Cone Attributes

Cone Angle (Number)

<p>outter cone angle of the spot light, this parameter affects the camera of the shadow mapping</p>

Inner Cone Angle (Number)

<p>inner cone angle (soft area) of the spot light&#39;s cutoff</p>

Spot Exponent (Number)

<p>appearance of the spot light</p>

Falloff (Number)

<p>falloff in respect to effective radius</p>

Cast Shadow (Number:

<i>boolean</i>

)

<p>if activated, light will generate a shadow map to be used with the shadow material extension</p>

Shadow Map Settings

Rendering Active (Number:

<i>boolean</i>

)

Shadow Strength (Number)

<p>strength of the shadows</p>

OUTPUT PORTS


Trigger Out (Trigger)

<p>trigger output</p>

Shadow Map (Object)

<p>generated shadow map output</p>

World Position X (Number)
World Position Y (Number)
World Position Z (Number)

Patches using SpotLight_v5

  • Examples
  • Public
  • My Patches

Changelog


Ops.User.cables.ShadowSpotTestLightCGL renamed to Ops.Admin.ShadowSpotLightCGLuser avatarcables - 2020-04-23 17:02
added core lib: vargetsetuser avatarstephan - 2020-05-20 12:02
added core lib: cgl_functionsuser avatarstephan - 2020-05-26 14:18
Ops.Admin.ShadowSpotLightCGL renamed to Ops.Gl.Phong.SpotLight_v5user avatarpandur - 2020-07-29 22:49