Godrays
Volumetric light rays emanating from a point
Volumetric light rays emanating from a point
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| center | position | {"x":0,"y":0} | The center point of the god rays |
| density | range | 0.3 | Frequency of ray sectors |
| intensity | range | 0.8 | Ray visibility within sectors |
| spotty | range | 1 | Density of spots on rays (higher = more spots) |
| speed | range | 0.5 | Animation speed of the rays |
| rayColor | color | #4283fb | Color of the light rays |
| backgroundColor | color | transparent | Background color |
Usage
vue
<Shader>
<Godrays
:intensity="0.8"
/>
</Shader>