🛠️Underwater Biome Builder Tool​

share this post:

Unity Editor Pipeline Tool • Devlog & Post-Mortem

Underwater Biome Builder: Intuitive 3D Procedural Terrain Generation for Game Designers

Role: Solo Tool Designer & Procedural Graphics Programmer • Engine & Algorithms: Unity Editor Scripting (C#), 3D Marching Cubes, Multi-Noise (Perlin, Cellular/Worley, Simplex, Hybrid), Poisson-Disc Sampling • Exports: OBJ, FBX, Unity Prefabs, LOD Groups, JSON & CSV POI Data
Underwater Biome Builder Dockable Unity Editor Interface
Dockable Unity Editor Tool & Real-Time Voxel Preview: Empowering level designers and environment artists to generate Subnautica-style 3D underwater caves, overhangs, and coral biomes without writing code.

1. The Brief & Task at Hand: Democratizing Advanced Procedural Generation

Inspired by the intricate underwater worlds of games like Subnautica, the Underwater Biome Builder is a custom Unity Editor tool built to revolutionize environment creation for game developers, environment artists, and level designers.

Creating believable 3D underwater environments—complete with volumetric caves, overhangs, depth-based texturing, bioluminescence, and organic prop placement—normally requires deep technical expertise in voxel algorithms and shader pipelines. This tool was engineered to abstract away that underlying mathematical complexity behind a visual, parameter-driven Unity Editor workflow, allowing designers to rapidly prototype and export production-ready underwater biomes with zero coding.

2. Core Design Philosophy & Modular Systems Architecture

Development was guided by four pillars: being artist-friendly, providing real-time visual feedback, leveraging procedural power, and outputting production-ready assets:

1. Core Editor & Data Architecture

  • Dockable Unity Editor Window: A central, organized interface with clean inspector tabs that integrates seamlessly into any Unity level design workflow.
  • Modular ScriptableObject System: Utilizes BiomePreset assets so biome configurations are modular, reusable, and version-control friendly across teams.

2. 3D Voxel Terrain Generation System

  • Marching Cubes Engine: Implemented 3D Marching Cubes as the core voxel-to-mesh algorithm, supported by a chunk-based architecture and automated LOD optimization for runtime performance.
  • Multi-Noise Synthesis: Integrated multiple noise models (Perlin, Cellular/Worley, Simplex, and Hybrid combinations) with exposed designer controls for Scale, Octaves, Lacunarity, Persistence, and Animation Speed to sculpt diverse geological arches, trenches, and organic reefs.

3. Biome Texturing, Bioluminescence & Post-Processing

  • 8-Layer Slope & Depth Texturing: Developed a multi-layer triplanar/UV texturing system with automatic slope and depth-based blending, alongside real-time manual brush painting.
  • Bioluminescent Visual Properties: Added shading toggles, custom material assignment, color gradients, and emission map support for glowing deep-sea flora and fauna.
  • Underwater Post-Processing Integration: Exposed direct controls for depth fog, animated caustics, water absorption color, light scattering, and underwater lens distortion.

4. Automated Points of Interest (POI) & Export Pipeline

  • Smart Poisson-Disc Sampling: Implemented terrain-aware Poisson-disc distribution to place custom Unity Prefabs (coral, boulders, wrecks, landmarks) without unnatural clumping, complete with slope/depth exclusion zones and density curves.
  • Multi-Format Data & Mesh Export: Supports one-click scene integration (generating terrain prefabs, lighting, water volumes, and post-processing profiles) as well as exporting meshes to OBJ, FBX, and Unity Assets (with auto-colliders and LOD groups) and POI coordinate tables to JSON and CSV.

3. Playtesting, Friction, Problems Encountered & Hands-On Learnings

  • Problem — Editor Frame Stalls During Live Parameter Tweaking: Re-evaluating a 3D Marching Cubes voxel grid and rebaking colliders on every slider drag initially froze the Unity Editor thread, hurting the immediate visual feedback designers need.
    Engineering Fix: Implemented chunk-level dirty flags, progressive chunk loading, and interactive preview resolution scaling so designers can scrub noise sliders smoothly before committing a full-resolution bake.
  • Comprehensive Hands-On Experience Gained:
    • Procedural Generation Algorithms: Deep implementation of 3D Marching Cubes, Perlin, Worley/Cellular, Simplex, and hybrid noise fields.
    • Unity Editor Scripting: Custom dockable EditorWindows, serialized BiomePreset ScriptableObjects, and real-time in-editor preview rendering.
    • Voxelization & Mesh Generation: Converting 3D scalar density volumes into optimized, UV-mapped, renderable triangle meshes.
    • Performance Optimization: Spatial chunking, automated LOD group generation, and progressive loading for both editor and runtime efficiency.
    • Designer Pipeline Integration: Building tools tailored to how level designers actually iterate, from preset tweaking to JSON/CSV/FBX export.
    • Underwater Visual Effects: Configuring depth fog, caustics, emission maps, and volumetric lighting profiles.

4. Key Results & Published Devlog

  • Production-Ready Procedural Workflow: Turns complex 3D voxel math into an accessible, code-free level design tool supporting up to 8 blended texture layers and automated Poisson-disc prop placement.
  • Published Academic & Community Showcase: Featured in a full technical devlog on Game-Lab and showcased on @sedohrentertainment.

Read Full Game-Lab Research Article → View Tool Showcase on TikTok → ← Back to Full Portfolio

Leave a Reply

Your email address will not be published. Required fields are marked *