PointLight_v5 Op

PointLight

Point light for phong shading


<p>The point light illuminates in every possible direction.</p>


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


Example Patch PointLight - example

PointLight 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 point light</p>

Radius (Number)

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

Position

X (Number)

<p>position x</p>

Y (Number)

<p>position y</p>

Z (Number)

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

Falloff (Number)

<p>falloff within 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>

)

Map Size index (Number:

<i>integer</i>

)
 256  512  1024  2048 

<p>index of the map size</p>

Shadow Strength (Number)

<p>strength of the shadows</p>

Near (Number)

<p>the near value of the shadow camera&#39;s frustum</p>

Far (Number)

<p>the far value of the shadow camera&#39;s frustum</p>

Bias (Number)

<p>biasing for the shadow comparison, refer to the shadow op for an in depth explanation</p>

Polygon Offset (Number:

<i>integer</i>

)

<p>polygon offset for the shadow map rendering, refer to the shadow op for an in depth explanation</p>

OUTPUT PORTS


Trigger Out (Trigger)

<p>trigger output</p>

Cubemap (Object)

<p>generated shadow cubemap output</p>

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

Patches using PointLight_v5

  • Examples
  • Public
  • My Patches

Changelog


Ops.User.cables.ShadowPointLightCGL renamed to Ops.Admin.ShadowPointLightCGLuser avatarcables - 2020-04-28 16:25
Ops.Admin.ShadowPointLightCGL renamed to Ops.Gl.Phong.PointLight_v5user avatarpandur - 2020-07-29 22:49
added core lib: cgl_cubemapframebufferuser avatarcables - 2021-03-24 13:08