Skip to content

tetrapod00/Godot-RealTimeCaustics

 
 

Repository files navigation

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

About

RealTime-ish Caustics in the Godot Game Engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published