Coding Adventure: Terraforming

Sebastian Lague May 29, 2021
Video Thumbnail

About

No channel description available.

Video Description

I got a bit tired of my simple heightmap-based planets and decided to experiment with generating them using the Marching Cubes algorithm instead, so that I could add a 'terraforming' ability for shaping the world with caves and tunnels and so on. I hope you enjoy! Project files are available here: https://github.com/SebLague/Terraforming If you’d like to support me in creating more videos, I have a Patreon page over here: https://www.patreon.com/SebastianLague Have a look at these videos if you're interested in learning about how the atmosphere and clouds were created: Atmosphere: https://youtu.be/DxfEbulyFcY Clouds: https://youtu.be/4QOcCGI6xOU Chapters: 0:00 Intro 1:05 Marching Cubes Algorithm Refresher 2:32 Looking at the Code 3:42 Making a Sphere! 4:53 Floating Rocks 7:20 Chunk Woes 9:48 The Mistake 11:31 Terraforming is Easy! 12:26 A Simple Water Shader 16:28 Adding Atmosphere 17:30 Some Fluffy Clouds 18:54 Terrain Colouring, and Sticky Lights! 20:23 The Expedition 21:23 Outro Music: Heart Calligraphy by Cody Martin Wonderland by Shimmer Autumn Wind by Yehezkel Raz Hall of the Mountain King by Kevin MacLeod (composed by Edvard Grieg) It Will Come Back by The Stolen Orchestra Amber by the Stolen Orchestra Nightingale by Emorie Into the Light by Emorie Animated Adventure by Andy Eliison

Unleash Your Terraforming Potential

AI-recommended products based on this video

Loading...
Head Strap with Battery for Oculus Quest 2, 7500mAh Extend 4-5H Playtime, Adjustable Comfort Elite Head Strap Replacement, Lightweight Design and Enhanced Support in VR for Oculus/Meta Quest 2

Head Strap with Battery for Oculus Quest 2, 7500mAh Extend 4-5H Playtime, Adjustable Comfort Elite Head Strap Replacement, Lightweight Design and Enhanced Support in VR for Oculus/Meta Quest 2

(801)
$43.99
FREE delivery Tue, Jun 17
100+ bought in past month
Loading...
Charging Dock for Meta Quest 3S/Quest 3, YUANHOT Fast Charging Station with Color RGB Light for Oculus Quest 3S/3 Accessories, Magnetic Charger Stand for Headset/Controller with 2 Rechargeable Battery

Charging Dock for Meta Quest 3S/Quest 3, YUANHOT Fast Charging Station with Color RGB Light for Oculus Quest 3S/3 Accessories, Magnetic Charger Stand for Headset/Controller with 2 Rechargeable Battery

(183)
$39.99
FREE delivery Tue, Jun 17
Loading...
Joystick Replacement Kit for Oculus Quest 2/3 Controller, Repair Kit for Meta Quest 2/3 Controller, Include 2 Joysticks, T5 Screwdriver, Tweezer, Pry Tool, 4 Thumbstick Grips (Black-11-in one)

Joystick Replacement Kit for Oculus Quest 2/3 Controller, Repair Kit for Meta Quest 2/3 Controller, Include 2 Joysticks, T5 Screwdriver, Tweezer, Pry Tool, 4 Thumbstick Grips (Black-11-in one)

(1,736)
$11.63$11.53
FREE delivery Tue, Jun 17 on your first order
100+ bought in past month
Loading...
INIU 16FT Link Cable for Meta Oculus Quest 2/3/Pro and PC VR Gaming - USB 3.0 Type C Cable with Separate Charging Port for VR Headset Accessories
Best Seller

INIU 16FT Link Cable for Meta Oculus Quest 2/3/Pro and PC VR Gaming - USB 3.0 Type C Cable with Separate Charging Port for VR Headset Accessories

(3,575)
$29.69$23.74
FREE delivery Tue, Jun 17 on your first order
300+ bought in past month
Loading...
Razer DeathAdder Essential Gaming Mouse: 6400 DPI Optical Sensor - 5 Programmable Buttons - Mechanical Switches - Rubber Side Grips - Classic Black

Razer DeathAdder Essential Gaming Mouse: 6400 DPI Optical Sensor - 5 Programmable Buttons - Mechanical Switches - Rubber Side Grips - Classic Black

(15,297)
$24.99$23.24
FREE delivery Sat, Apr 11 on your first order
400+ bought in past month
Loading...
Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black
Best Seller

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

(17,871)
$27.98$22.38
FREE delivery Tue, Oct 14 on your first order
500+ bought in past month
Loading...
Card Game, Five-Star Crown Poker Board Game Card, Have Fun and Fun with Friends and Family JiaPk0730

Card Game, Five-Star Crown Poker Board Game Card, Have Fun and Fun with Friends and Family JiaPk0730

(453)
$7.60$7.59
$5.90 delivery Wed, Feb 11
1K+ bought in past month
Loading...
WVD 7.8inch Spinning Wheel, 8 Color Plinko Game Board Large, with Writing Pen,Easy to Clean Prize Wheel,Desktop Roulette Wheel, Party, Birthday, Games and Events

WVD 7.8inch Spinning Wheel, 8 Color Plinko Game Board Large, with Writing Pen,Easy to Clean Prize Wheel,Desktop Roulette Wheel, Party, Birthday, Games and Events

(0)
$12.99
FREE delivery Wed, Aug 20 on your first order
Loading...
Table Top Magnet Game Toy Magnetic Stone Board Chess Game Toy for Family Christmas Party Portable Magnet Stone Board Party Supplies

Table Top Magnet Game Toy Magnetic Stone Board Chess Game Toy for Family Christmas Party Portable Magnet Stone Board Party Supplies

(7)
$16.99
FREE delivery Sat, Apr 11 on your first order
100+ bought in past month
Loading...
10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

(1)
$99.99
FREE delivery Mon, Aug 11
Loading...
ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

(49)
$117.29$102.21
$6.86 delivery Thu, Aug 14
Loading...
7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

(61)
$68.99
FREE delivery Tue, Aug 12
Loading...
BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

(288)
$54.14
FREE delivery Sun, Jun 22