Skip to content

Lib.render.shading.GetPointLightOccclusion

Thomas Mann edited this page May 28, 2025 · 3 revisions

GetPointLightOccclusion

in Lib.render.shading


Returns a float list with the visibility of the current point lights.

This means: This operator can recognize if a pointlight is being occluded by another object. It can be used to control the intensity of effects like [LenseFlare], glow, godrays etc.

Use the Operator called [UseRenderTarget] to get a reference to the current rendertarget and connect its Depth-output. The output value can then be connected to [LenseFlareSetup] Brightness parameter.

[UseRenderTarget] -> [GetPointLightOcclusion] -> [LenseFlareSetup]


Input Parameters

Name (Relevancy & Type) Description
DepthMap (Texture2DRequired) -
NearFarRange (Vector2) -
LightIndex (Int32) -
Damping (Single) -

Outputs

Name Type
Occlusion System.Single
Output T3.Core.DataTypes.Texture2D

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

Clone this wiki locally