Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.21 KB

README.md

File metadata and controls

25 lines (18 loc) · 1.21 KB

Godot - (RealTime-ish) Caustics

LICENSE

This is a demo showcasing a way to add cool Caustics effects to your Godot project.

Disclaimer

The original shader code was written by Alex Ameye (@alexanderameye). The original article can be found here: Rendering realtime caustics. I merely take credit for the porting of his shader to GLSL and Godot.

Features

  • Bounding Box Mask (caustics only visible inside the box)
  • Caustics Mapping over World UV
    • changes with light direction
  • Scaling and movement/panning
  • Multiple overlaped caustics textures
  • Chromatic aberration
  • Luminance fade
  • Edge fade
  • "Underwater camera" -> caustics are being shown when camera is inside the caustics volume

Showcase

image

Caustics-Showcase.mp4