Ubisoft is in crisis, and a 13-year-old pirate game is part of the escape plan
Back to Tutorials
techTutorialbeginner

Ubisoft is in crisis, and a 13-year-old pirate game is part of the escape plan

July 12, 20265 views5 min read

Learn to create an underwater scene with water effects, lighting, and coral reef elements using Godot Engine - inspired by Ubisoft's Assassin's Creed Black Flag Remake.

Introduction

In this tutorial, we'll explore how to create a simple underwater scene using modern game development tools. The concept is inspired by Ubisoft's Assassin's Creed Black Flag Remake, which featured stunning underwater environments. You'll learn how to set up a basic 3D scene with water effects, lighting, and coral reef elements using a beginner-friendly game engine. This tutorial will help you understand how developers create immersive underwater worlds that showcase modern graphics capabilities.

Prerequisites

To follow this tutorial, you'll need:

  • A computer with internet access
  • Basic understanding of 3D concepts (what a scene, lighting, and materials are)
  • Access to a free game development tool (we'll use Godot Engine, which is beginner-friendly)

Why this setup? Godot is perfect for beginners because it's free, open-source, and has excellent documentation. It's a great way to learn game development fundamentals without expensive software.

Step-by-Step Instructions

1. Install Godot Engine

First, download and install Godot Engine from the official website (godotengine.org). Choose the latest stable version for your operating system. The installation process is straightforward and should take just a few minutes.

Why install this specific tool? Godot provides a complete environment for 3D development, including a visual editor, scripting capabilities, and built-in tools for creating underwater effects.

2. Create a New 3D Project

Open Godot and select "New Project". Choose "3D Project" and give your project a name like "UnderwaterScene". Set the project directory where you want to save your work.

Why this step? Starting with a 3D project ensures we're working in the right environment for creating underwater scenes with realistic lighting and materials.

3. Set Up the Basic Scene

In the scene tree, delete the default Camera node and add a new Camera node. Then, add a "Spatial" node as the parent for our scene elements. Name it "SceneRoot".

Why set up this structure? This organization helps us manage our underwater environment better, with the camera controlling the view and SceneRoot holding all our underwater elements.

4. Add Water Surface

Add a "MeshInstance" node to your SceneRoot. In the inspector, click the "Mesh" property and select "New PlaneMesh". This creates a flat surface that will represent our water surface.

Why use a plane mesh? A plane is the simplest way to create a surface that can be made to look like water. We'll modify its appearance in the next steps.

5. Create Water Material

Create a new "SpatialMaterial" by clicking the "Material" property of your MeshInstance and selecting "New SpatialMaterial". In the material settings:

  • Set the "Albedo" color to a blue shade (like #0066CC)
  • Adjust "Metallic" to 0.2 and "Roughness" to 0.1
  • Enable "Subsurface Scattering" and set it to 0.8

Why these settings? The blue color gives water its characteristic look, while metallic and roughness control how light reflects off the surface. Subsurface scattering makes the water look more realistic by simulating light penetration.

6. Add Underwater Lighting

Add a "DirectionalLight" node to your SceneRoot. Set its "Energy" property to 0.5 and "Color" to a light blue (#80C0FF). This simulates sunlight filtering down through water.

Why directional light? It mimics how sunlight penetrates water, creating the underwater atmosphere we want to achieve.

7. Create Coral Reef Elements

Add multiple "MeshInstance" nodes for coral. Use the "New Mesh" property and select "New CylinderMesh" for a basic coral shape. Duplicate this mesh several times and position them around your water surface.

Why cylinders? Cylindrical shapes are simple to create and can be easily modified to look like different coral types. This helps us quickly prototype the underwater environment.

8. Apply Coral Materials

Create new materials for each coral piece. Use vibrant colors like red (#FF0000), orange (#FF8000), and purple (#8000FF). Set the "Albedo" property to these colors and adjust "Roughness" to 0.7 for a more organic look.

Why different colors? Real coral reefs are colorful and diverse. Using various colors helps create a realistic underwater ecosystem.

9. Add Particle Effects for Bubbles

Add a "Particles" node to your SceneRoot. In the particle settings:

  • Set "Emission Shape" to "Sphere"
  • Set "Process Material" to a new "ParticlesMaterial"
  • Set the "Albedo" to a light blue color
  • Adjust "Emission Rate" to 50 particles per second

Why particles? Bubbles are a key element of underwater environments. Particles help simulate the air bubbles rising through water, enhancing realism.

10. Position and Test

Position your camera to look down at the water surface. Adjust the camera's position so you can see both the water surface and the coral below. Click "Play" to test your scene.

Why test now? Testing early helps you see how your underwater environment looks and make adjustments before finalizing your work.

11. Final Adjustments

Make any final adjustments to lighting, material colors, or particle effects. You can also add more coral pieces or adjust the water surface size to better fit your underwater theme.

Why make final adjustments? These tweaks ensure your scene looks polished and realistic, similar to what developers do in major game releases like the Assassin's Creed remake.

Summary

In this tutorial, we've created a basic underwater scene using Godot Engine. We learned how to set up a 3D environment, create water surfaces with realistic materials, add lighting effects, and include coral reef elements with particle systems. This simple scene demonstrates how modern game development tools can recreate the immersive underwater environments seen in games like Assassin's Creed Black Flag. While this is a basic implementation, it shows the fundamental concepts used in creating more complex underwater scenes in professional game development.

Remember, game development is an iterative process. You can continue to enhance your scene by adding more detailed models, advanced lighting effects, or even implementing water physics for more realistic movement.

Source: TNW Neural

Related Articles