Point light for phong shading
summary (oneliner)
The point light illuminates in every possible direction.
doc
issues
youtube id
caniuse query
collections
Inputs
Trigger input
Light Attributes
intensity of the point light
effective radius of the point light
Position
position x
position y
position 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
falloff within effective radius
if activated, light will generate a shadow map to be used with the shadow material extension
Shadow Map Settings
index of the map size
Shadow Map Settings
the size of the generated shadow map, possible values: 256, 512, 1024, 2048
strength of the shadows
the near value of the shadow camera's frustum
the far value of the shadow camera's frustum
biasing for the shadow comparison, refer to the shadow op for an in depth explanation
polygon offset for the shadow map rendering, refer to the shadow op for an in depth explanation
Outputs
trigger output
generated shadow cubemap output
Changelog
2020-04-28 - cables
Ops.Admin.ShadowPointLightCGL renamed to Ops.Gl.Phong.PointLight_v5
2020-07-29 - pandur
added core lib: cgl_cubemapframebuffer
2021-03-24 - cables