Water 2D


Events tell your scripts when something enters, leaves or splashes. Easy to configure ... Fits your art style ... Features ... Foam, caustics, sparkles, light rays and bubbles


by bokokit


Price History +

Stylized side-view 2D water for URP: waves, ripples, splashes, refraction and reflections. 20 ready-made templates, a pixel-art mode and 9 playable sample scenes.

Custom shaders

  • 1 hand-written HLSL shader (Water2D/Water) for URP 17: 2D Renderer and Universal Renderer (Forward / Forward+)
  • SRP Batcher compatible; effects are shader keywords and are compiled out when off
  • Compiles for DirectX, Vulkan, Metal and OpenGL ES 3 (automated compile tests)

Number of VFXs

  • 20 water material templates

List of VFXs included

  • Arcade Purple, Ocean Day, Ocean Night, Stormy Sea, Tropical Lagoon, Calm Lake, River
  • Swamp, Acid, Toxic Sludge, Lava, Molten Gold, Ice Water, Blood, Oil / Tar
  • Neon Synthwave, Mystic Cave, Cartoon, Pixel Ocean, Pixel Lava

Texture sizes

  • Shader: 4 palette textures (4x1 to 8x1) and a 32x32 droplet; the water itself is procedural
  • Sample art: 84 original sprites, up to 2048x512 (background strips)

Components and scripts

  • Water Body 2D, Water Surface Simulation 2D, Water Interaction 2D, Water Floater 2D, Water Ripple Emitter 2D, Water Reflection Camera 2D, Water Pixel Art Sync, Water 2D Renderer Feature
  • Namespaces: Bokokit.Water2D, Bokokit.Water2D.Editor, Bokokit.Water2D.Samples
  • 670+ automated EditMode tests included

Samples and documentation

  • 9 sample scenes; sample art is original, made for this package; no audio
  • Documentation: "Water 2D Documentation.pdf" in the package root
  • Requires Unity 6000.0 or newer

Water 2D is a stylized water shader and a small set of components for side-view 2D games in URP. Drop a water body into your scene, pick one of 20 templates and tweak it in a friendly inspector.

Looks good from the first click

Ocean, lake, river, storm, tropical lagoon, swamp, lava, molten gold, acid, oil, blood, ice, neon, mystic cave, cartoon, pixel ocean, pixel lava and more. Every template is a starting point you can change in seconds.

Reacts to your game

Objects that fall in make ripples and splashes, float with buoyancy and drift with currents. Bullets splash the surface, boats push waves. Events tell your scripts when something enters, leaves or splashes.

Easy to configure

A preset gallery with thumbnails, one-click effect chips, a Quick Look block for everyday tweaks, help text and a tooltip on every setting, and a Reset button on every section.

Fits your art style

Smooth vector water, flat toon bands with an outlined line, or true pixel art that snaps to the Pixel Perfect Camera with palettes, dithering and stepped animation.

Features

  • Procedural waves (height, length, speed, choppiness, detail, seed), with the same surface available to your scripts
  • Interactive surface: impact ripples, wakes, splashes, rain ripples
  • Buoyancy, drag and currents for Rigidbody2D objects, with per-object overrides
  • Depth gradient, transparency, underwater tint, colour variation, emission (glows with Bloom)
  • Separately styled water line: colour, width, softness, width variation, optional gaps, secondary line, outline
  • Highlight band and glow under the surface
  • Background refraction with horizontal / vertical control
  • Reflections: screen, camera, texture or flat colour; mirror-correct around the water level
  • Foam, caustics, sparkles, light rays and bubbles
  • Pixel art: pixel snapping, palette mode, Bayer / checker / line dithering, stepped animation
  • Toon colour bands, 2D Lights support, additive blend mode
  • Rising and draining water
  • 2D Renderer and Universal Renderer (Renderer Feature included), with setup checks and one-click fixes
  • SRP Batcher compatible; unused effects are compiled out with shader keywords

Included

  • 20 material templates
  • 9 playable sample scenes with all scripts: Calm Lake, Open Sea with storms, Gunboat, Lava, Acid, Purple Arcade, Pixel, Cartoon Beach and a Template Gallery
  • Project Setup window that adds the sorting layers the samples use
  • Documentation (PDF) and full C# / HLSL source

Requirements

Unity 6 (6000.0) or newer with the Universal Render Pipeline 17. The Built-in Render Pipeline and HDRP are not supported. No other dependencies; the samples use the Input System package when it is installed.