Skip to main content
Skip table of contents

God Rays

God rays, also known as crepuscular rays or volumetric lighting, are a post-processing effect used in computer graphics and video games to simulate the phenomenon of light scattering and creating visible rays or beams of light in an atmospheric or foggy environment. This effect mimics the way sunlight interacts with particles in the air, such as dust or moisture, resulting in rays of light appearing to radiate from a central source.

Postprocessing Package Reference

 


Properties

Name

Descriptions

BlendFunction

How the original image and the effect are blended together, in most cases it does not make sense to deviate from the default value.

blur

Whether the god rays should be blurred to reduce artifacts.

density

The density of the light rays.

decay

An illumination decay factor.

weight

A light ray weight factor.

exposure

A constant attenuation coefficient.

clampMax

An upper bound for the saturation of the overall effect.

kernelSize

The size of the blur kernel.

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.