Skip to content

Instantly share code, notes, and snippets.

extends ColorRect
## How far to ray cast to check if the sun is visible
const SUN_RAYCAST_LENGTH: float = 750.0
## The sun that the lens flare follows
@export var sun: DirectionalLight3D
## How fast the lens flare fades in and out when occluded
@export var fade_speed: float = 8.0
extends ColorRect
## How far to ray cast to check if the sun is visible
const SUN_RAYCAST_LENGTH: float = 750.0
## The sun that the lens flare follows
@export var sun: DirectionalLight3D
## How fast the lens flare fades in and out when occluded
@export var fade_speed: float = 8.0
extends ColorRect
## How far to ray cast to check if the sun is visible
const SUN_RAYCAST_LENGTH: float = 750.0
## The sun that the lens flare follows
@export var sun: DirectionalLight3D
## How fast the lens flare fades in and out when occluded
@export var fade_speed: float = 8.0
extends ColorRect
## How far to ray cast to check if the sun is visible
const SUN_RAYCAST_LENGTH: float = 750.0
## The sun that the lens flare follows
@export var sun: DirectionalLight3D
## How fast the lens flare fades in and out when occluded
@export var fade_speed: float = 8.0
extends ColorRect
## How far to ray cast to check if the sun is visible
const SUN_RAYCAST_LENGTH: float = 750.0
## The sun that the lens flare follows
@export var sun: DirectionalLight3D
## How fast the lens flare fades in and out when occluded
@export var fade_speed: float = 8.0
extends ColorRect
## How far to ray cast to check if the sun is visible
const SUN_RAYCAST_LENGTH: float = 750.0
## The sun that the lens flare follows
@export var sun: DirectionalLight3D
## How fast the lens flare fades in and out when occluded
@export var fade_speed: float = 8.0
extends ColorRect
## How far to ray cast to check if the sun is visible
const SUN_RAYCAST_LENGTH: float = 750.0
## The sun that the lens flare follows
@export var sun: DirectionalLight3D
## How fast the lens flare fades in and out when occluded
@export var fade_speed: float = 8.0