No AI-generated images. Code written with AI assistance.
37 light shaft presets for Godot 4: 25 ready-made 3D scenes and 12 ready-made 2D scenes (4 of them pixel art).
Drop one on the floor where the light should land. Every 3D preset is soft shafts + a light pool on the floor + dust floating in the beam.
No volumetric fog, no depth or screen textures: works in Forward+, Mobile and Compatibility (the renderer used for web exports).
WINDOWS & INTERIORS
- Window shafts (warm afternoon, cool morning, low sunset), venetian blinds, prison bars, attic dust beam, moonlit window, square skylight
TEMPLES
- Cathedral stained glass (three colored windows), shoji lattice light, immortal hall rays with drifting incense haze
NATURE & SKY
- Sunbeam through ruins, cave skylight, light through a cave crack, moonbeam in a clearing
- Forest canopy rays with dappled light pools that drift like moving leaves (+ misty version), breaking clouds (30 m rays)
UNDERWATER
- Sun rays from the surface with shimmer and sway, moving caustics on the sea floor (+ deep blue version)
LAMPS & STAGE
- Hangar floodlights, a stage spotlight that sweeps the floor, a searchlight sweeping the sky, flickering lamps (warm and red)
2D
- Sun rays, moon rays, window light, forest rays, underwater rays, cave light, spotlight, holy beam
- Pixel art versions of sun rays, window light, forest rays and underwater rays: blocky rays, 4 light levels, stepped motion
ONE SCRIPT ON EVERY 3D PRESET
- sun: drag your DirectionalLight3D in. The shafts tilt with the sun, take its color and fade out when it sets,
so your day/night cycle drives them (demo/sun_cycle.tscn)
- lit: switch the light off or on, it fades smoothly
- intensity and tint per copy (each copy gets its own materials)
- sweep: stage lights swing around the lamp, searchlights around their base
- Beams fade out when the camera walks through them
SHADER SETTINGS
- Window bars, edge softness, fade at the floor and at the opening, dust streaks
- Breathe (clouds and leaves), flicker (broken lamp), shimmer (underwater)
INCLUDED
- demo.tscn with every 3D preset labeled, showcase.tscn (a dark hall lit by three windows), demo_2d.tscn, sun_cycle.tscn
- PDVFX helper: spawn and place effects from code in one line
- AGENTS.md + catalog.json so AI coding assistants can add the effects for you
- Tested in Godot 4.7 (Compatibility)
License: use in personal and commercial projects. Do not resell or redistribute the files as-is.
