Skip to content

Flarkk/Godot-Water-Shader-Prototype

 
 

Repository files navigation

Godot-Water-Shader-Prototype

This is a maintained fork of the original work by @Platinguin.

Screen capture

Latest versions

  • October 2024 (tag) : bring compatibility with Godot 4

Release Notes

October 2024
  • Fixed syntax errors in GDScript and GLSL code subsequent to the migration from Godot 3 to 4
  • Fixed uninitialized variable in camera lense shader causing the entire viewport to flicker
  • Fixed banding in ocean shader due to gradient texture having swapped UVs in Godot 4
  • Migrated the viewport-based flow map generator to a compute shader
  • Fixed compatibility issues with Reverse-z in the ocean visual shader
  • Fixed GLSL's smoothstep() usages where edge0 > edge1 which is undefined behavior in Vulkan
  • Fixed various artifacts in ocean visual shader (among others : changes in linear / sRGB conversions, remove usage of fract() for UV coordinates causing texture filtering glitches, light() function not writing specular light to SPECULAR_LIGHT)
  • Improved shaders' code readability by simplifying some expressions

About

Water Shader Prototype for Godot

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • GDScript 64.0%
  • GLSL 36.0%