-
Notifications
You must be signed in to change notification settings - Fork 246
Lib.render.shading.GetPointLightOccclusion
Thomas Mann edited this page May 8, 2025
·
3 revisions
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]
| Name (Relevancy & Type) | Description |
|---|---|
| DepthMap (Texture2DRequired) | - |
| NearFarRange (Vector2) | - |
| LightIndex (Int32) | - |
| Damping (Single) | - |
| 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.