Customizable Water / Ocean shader for Unity 6 URP with some presets, underwater feature, buoyancy script & infinite ocean script.FEATURESIncludes buoyancy script for objects to make them float on water.Customizable water gradient colors.Tweakable depth fog, absorption, detail, refraction.Tweakable wave parameters such as height, frequency, etc.Tweakable water foam, including foam coverage & visual look.Tweakable water caustics.Underwater shader when camera goes below water level, with tweakable parameters.Note: Underwater effect in Demo is only adjusted for "StylizedWater" preset. You can change its properties under the Renderer Feature.HOW TO USE / INTEGRATEFor water surface, you have prefabs for water. You can adjust water subdivisions & size.For underwater effect, apply UnderwaterRendererFeature to your UniversalRendererData (PC Renderer, Mobile Renderer, etc), and match the settings to your water surface settings.For buoyancy, there is a BuoyancyUsage.cs script; however, a working example is present in the Demo scene (see Buoyant Sphere in the scene).For chunk-based infinite oceans, a separate demo scene is given too, you can copy and paste the contents into your game.For more information, please reach out via my contact email below.PACKAGE CONTENTSOne Water Surface ShaderOne Underwater Effect ShaderOne Buoyancy ScriptA script for chunk-based infinite ocean generationA script for custom PlaneMesh generation, for custom sibdivisions and mesh sizeSix PrefabsPre-configured MaterialsA Demo SceneA Demo scene showing chunk-based infinite oceanSUPPORTIf you have any questions, run into issues, or need help customizing the shader for your specific project needs, please reach out!Email: muhammadmujtaba150@gmail.comUnity Version: Unity 6Requires: Universal Render Pipeline (URP).Third-party Assets: 1 Texture (caust00.png - Public Domain, CC0 licensed - used for Demo scene)Textures: 1Shaders: 2Materials: 6Prefabs: 6Demo Scenes: 2




