Skip to content

RealTime-ish Caustics in the Godot Game Engine

License

Notifications You must be signed in to change notification settings

paddy-exe/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. This branch will be only supported for 4.3+ Godot. It may work in 4.2 but is not supported.

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

video

About

RealTime-ish Caustics in the Godot Game Engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published