PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

SunRaysEffect

Show deprecated

SunRaysEffect

Show deprecated

SunRaysEffect is a post-processing effect which renders a halo of light around sun. The halo is shaped/blocked by world objects between the Workspace/CurrentCamera and the sun. It is helpful in simulating dust or fog in the air. Remember: subtlety is key. sun rays can become annoying to the eye if they are even slightly too strong. Like all PostEffect objects, objects of this kind should be parented to either the Lighting or the Workspace/CurrentCamera to work.

This object does not work on mobile devices for performance reasons. In Studio, the RenderSettings/EditQualityLevel|EditQualityLevel must be Level16 or higher in order for SunRaysEffect to render.

Example

Pictured below is a SunRaysEffect in Crossroads. Notice how the tower blocks portions of the halo around the sun.
SunRaysEffect in the Crossroads place

Properties

float

Intensity

Determines the opacity of the sun rays

float

Spread

Determines how wide the sun rays will spread out

Functions

Events