STYLIZED STATION Profile picture
May 18, 2023 36 tweets 10 min read Read on X
Ever wondered how clouds work in video games?

They may be an afterthought for gamers, but creating clouds is one of the most exciting and complex topics in game art.

We have a lot fo talk about, so lets get right into it.

Another massive 🧵
Back in the day, there weren’t really clouds in video games.
Sure, you could see clouds, but these were just handpainted photoshopped images projected onto something called a skybox - a method of creating backgrounds to make a video game level appear larger than it really is.
When a skybox is used, the level is enclosed in a cuboid.
The distant mountains, distant buildings, and other unreachable objects like clouds are projected onto the cube's faces (using a technique called cube mapping), thus creating the illusion of distant three-dimensional surroundings. Image
And this worked well for a while, but As technology improved, developers and artists started using some really interesting shader techniques to add movement to their skybox clouds.
One of these techniques is called flow mapping, which is a method that allows developers to create movement in their skybox, by storing directional information into a texture, called a flow map
The Stormpoint map in Apex legends is a great example of excellent use of flow maps.
This storm looks alive, but this skybox is just a simple matte painting with a flowmap and distortion shaders applied to it to give the illusion of cloud movement. There's a lot more going on in this, but that's the basic idea.
So if most clouds are actually 2d, how do the clouds in genshin impact create these shadows on the ground from clouds passing overhead?
Well, they dont - and you’ve just fallen for one of my favorite tricks in-game art.
By projecting a massive dark noise texture over the entire map artists can fake cloud shadows by slowly scrolling that texture over the landscape to mimic clouds passing overhead.
It's simple, effective, and much cheaper than using dynamic shadows created by clouds in a skybox.
I can prove this is happening by looking up at the sky when a cloud shadow passes over my character, the sun should be somewhat obscured by a cloud if I’m seeing a shadow, but we see nothing but a clear sky around the sun - it's just a texture.
So, animated skyboxes are very powerful, but what about the clouds in Sea of Thieves that you can actually see in 3d? How is that done?
By creating clouds with 3d geometry and running it through filters, SoT are able to create clouds of any shape and control everything from the lighting, shape, and subsurface scattering of the clouds, making the clouds look full and fluffy. Image
Creating filters for 3d geometry in real-time is very resource-intensive, so to avoid this, the cloud geometry and filters are calculated off-screen in a buffer. A camera-facing quad samples the buffer target and composites the clouds with the scene to create one cohesive sky. Image
The final result is surprisingly performant, painterly-looking clouds that can take any shape or form, like a skull, or even another pirate ship.
Cloud technology is being pushed even further every day, and lots of modern games like Horizon Zero Dawn and Ghosts of Tsushima, and even RdR2 -
- are moving past simple skyboxes and skydomes and feature real-time volumetric clouds - a cloud system that uses a three-dimensional volume texture that is ray-marched to represent cloud layers in real-time.
The creators of the Horizon series, guerilla games, even went as far as to create their own in-house volumetric cloud and weather system called Nubis, that is capable of creating realistic cloud systems and massive swirling storms.

(Yes, this was recorded in game. Crazy)
For the first time ever, with volumetric clouds players are able to climb a mountain above the clouds in open-world games or soar through the clouds in flight simulators - forever changing the way we experience games.
That's right, the introduction of volumetric cloud technology in games was a game-changer, taking the in-game environment's realism to an entirely new level.
And it's not just for the aesthetics, but volumetric clouds also interact dynamically with light sources, which can result in beautiful light scattering effects, like god rays breaking through a cloudy sky, or the majestic setting sun getting partially obscured by clouds.
Let's take Red Dead Redemption 2 for instance. It uses a remarkable combination of volumetric fog and volumetric clouds to create stunning weather systems that dynamically change over time.
The dense fogs that roll over the game's mountains at dawn, the fluffy clouds during a sunny day, and even the menacing dark clouds during a storm, all of these are achieved using volumetric rendering.
The volumetric clouds in RDR2 are made up of multiple layers of 3D noise textures. The different layers allow for a variety of cloud types to be represented - lower stratus clouds, towering cumulus clouds, and thin wispy cirrus clouds high in the sky.
The 3D noise texture is sampled during the rendering process, and by adjusting the threshold value, artists can control the cloud density at any given point. (See gif above)
But wait, there's more. These clouds in RDR2 are not just a static entity, they actually evolve over time. By slightly shifting the 3D noise texture used for the clouds over time, the game creates the illusion of cloud evolution, making the sky look incredibly alive and dynamic.
Another example would be Flight Simulator 2020, developed by Asobo Studio, which has set a new bar in terms of realistic cloud rendering.
As you might expect from a flight simulator game, clouds play an essential role in creating an immersive flight experience.

The game uses real-world weather data to render the sky, and it creates breathtakingly beautiful and accurate representations of cloud formations.
The use of volumetric rendering allows the game to create an incredibly varied and dynamic range of weather conditions, from clear skies and fluffy cumulus clouds to dense fog and violent thunderstorms.
And let's not forget about how the developers use the lighting system in combination with volumetric clouds.
As the light from the sun interacts with the cloud particles, it creates stunning lighting effects such as crepuscular rays, also known as god rays, diffusing through the clouds, and beautiful hues during the sunrise and sunset.
There is so much more to talk about, but that will have to be for another time.

If you want to learn more about game art, feel free to check out my courses:
courses.stylizedstation.com
Thanks for reading!

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with STYLIZED STATION

STYLIZED STATION Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @StylizedStation

Nov 30, 2024
How to Quit Your Job to Make a 6-figure Art Business (Even If You’re Over 25) - a big 🧵 Image
I quit my job at 27 to pursue art full-time.

I wasn’t an expert, I wasn’t naturally talented, and I definitely wasn’t rich. But 5 years later, I’m running a 6-figure creative business.

Here’s how I did it—and how you can too.
First, let me say this: It’s never too late.
Read 21 tweets
Nov 28, 2024
75% of artists in the U.S. make $10,000 or less annually from their work. And nearly half make less than $5,000.

But for you, it doesn't have to be that way 🧵 Image
Let that sink in: Most artists are making less than minimum wage. So why is the world still romanticizing the “starving artist”?
The reality is even worse.

66% of artists report experiencing burnout at least once.

Not because they’re lazy or unmotivated, but because they’re forced to do it all:

-Create
-Market
-Network
-Chase payments

The system is crushing the very people it relies on.
Read 18 tweets
Nov 27, 2024
Most people never start because they’re afraid of creating something bad.

But here’s the truth: Bad work is necessary to create great work.

Here’s how to overcome the fear of starting and start creating today 🧵
Fear tells you:

“What if it’s terrible?”

“What if people judge me?”

“What if I’m not good enough?”

But the only thing worse than making bad work… is making no work at all.
Instead of trying to make something good, start by just trying to make something exist.

Your goal isn’t perfection—it’s progress.

A messy sketch is better than a blank page.

A rough draft is better than no draft.

Done is better than perfect.
Read 9 tweets
Nov 23, 2024
Talent is OVERRATED.
As an artist who built a 6-figure business without 'natural talent,' here's the uncomfortable truth about what drives real success—a thread 🧵 Image
At 28, I realized my talent would never measure up to the geniuses of the art world. Based on skill alone, I’d never be the prodigy or the standout artist.

But I knew this: The art industry doesn’t reward just talent—

It rewards strategy.
So I decided to destroy everyone else at the two things most artists ignore: marketing and business.
Read 21 tweets
Nov 21, 2024
Give Yourself Permission to Be Creative - A Big 🧵to inspire you Image
Let me set something straight - Creativity isn’t about being the best. It’s about showing up, letting yourself experiment, and realizing you don’t need anyone’s approval to start. Here’s why giving yourself permission to be creative is life-changing—and how I did it.
I want to make this clear before we get into it.
Stop Waiting for the “Right Time”
There will never be a perfect moment to start creating.
Read 20 tweets
Nov 20, 2024
How I Built a 6-Figure Art Business After Quitting My Job at 27 - a big 🧵 Image
When I was working at a tech company, my soul felt crushed daily. I was burnt out, stuck in a cycle of working hard to fill someone else’s wallet, and constantly asking myself: "Is this really all there is to life?"
The turning point came when I was turned down for a promotion I had worked tirelessly for. That was the moment I realized I was pouring my energy into someone else’s dream while my own potential was slipping away.
Read 19 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(