A lightweight and customizable 2D water effect with animated waves, texture distortion, masking, and separate shaders for Built-in, URP, and HDRP.2D Water is a lightweight and customizable water effect designed for user interfaces, 2D environments, game menus, containers, tanks, health or mana displays, and stylized scenes.The effect creates an animated water surface using a configurable wave line, scrolling displacement texture, water texture, and mask texture. The water level can be adjusted through the material or controlled at runtime using the included Water component.The included demo controller automatically raises and lowers the water level in a smooth looping animation. The animation speed, minimum height, maximum height, timing, and movement curve can be adjusted from the Inspector.Separate shader versions are included for the Built-in Render Pipeline, Universal Render Pipeline, and High Definition Render Pipeline. All three versions use the same material property names, making it easier to recreate the same appearance across different pipelines.The package is suitable for:• Animated water inside UI images• Water tanks and containers• Health, mana, oxygen, or loading indicators• Stylized 2D scenes• Game menus and HUD elements• Flooding or filling animations• Liquid level demonstrationsThe effect can be customized using your own water, displacement, and mask textures.Render Pipeline Support• Separate shader for Built-in Render Pipeline• Separate shader for Universal Render Pipeline• Separate shader for High Definition Render Pipeline• Matching material property names across all shader versionsWater Effect Features• Animated procedural water line• Multiple combined sine and cosine waves• Configurable base water height• Configurable turbulence strength• Configurable scrolling offset• Scrolling displacement texture• UV distortion below the water surface• Red-channel mask support• Custom water texture support• Transparent rendering• Alpha blending• Depth writing disabled for correct transparencyRuntime Controller• Automatic rising and falling water animation• Smooth looping animation• Configurable minimum water height• Configurable maximum water height• Configurable cycle duration• Custom Animation Curve support• Scaled or unscaled time support• Play, Pause, Restart, and SetProgress methods• Creates a runtime material instance to protect the original material asset• Designed for use with Unity UI Image componentsIncluded Shader Properties• _MainTex• _DisplacementTex• _WaterTex• _MaskTex• _BaseHeight• _Turbulence• _ScrollOffsetIncluded Files• Water_BuiltIn.shader• Water_URP.shader• Water_HDRP.shader• Water.cs• Setup documentationRequirements• Unity UI package• An Image component for the included runtime controller• A material using the shader version that matches the active render pipeline





