Method celestialProjectedOcclusionRadius
celestialProjectedOcclusionRadius(Camera)
Retrieves the projected occlusion radius from a particular celestial in the infinity plane with an angular radius. This is used for directional lights which require to have consistent occlusion radius regardless of the near/farplane configuration.
Declaration
public float celestialProjectedOcclusionRadius(Camera mainCam)
Parameters
Type | Name | Description |
---|---|---|
Camera | mainCam | The camera utilized to calculate the occlusion radius |
Returns
Type | Description |
---|---|
float | The value, in world units, of the occlusion angular radius. |