A guide to real time weather in computer games Krsito Mnna Intent - - PowerPoint PPT Presentation

a guide to real time weather in computer games
SMART_READER_LITE
LIVE PREVIEW

A guide to real time weather in computer games Krsito Mnna Intent - - PowerPoint PPT Presentation

A guide to real time weather in computer games Krsito Mnna Intent of this presentation Give an overview of weather in games Starting point for weather system design Highlight what weather can do Why bother with weather?


slide-1
SLIDE 1

A guide to real time weather in computer games

Krsito Männa

slide-2
SLIDE 2

Intent of this presentation

› Give an overview of weather in games › Starting point for weather system design › Highlight what weather can do

slide-3
SLIDE 3

Why bother with weather?

› Easier for player to fit in › More habitable worlds › Worlds bigger than character

slide-4
SLIDE 4

Topics

› Weather systems › Weather zones › Designing a weather system

slide-5
SLIDE 5

Systems

› Temperature › Rain-/Snowfall › Day/Night cycle › Clouds › Fog › Wetness › Wind › Vegetation › Water › NPCs

slide-6
SLIDE 6

Temperature

Reality: › Heated metals and black body radiators › Summer sky vs. Winter sky › Illusion of warm/cold

slide-7
SLIDE 7

Temperature

Outcomes: › Feeling of temperature › Ambiance

slide-8
SLIDE 8

Temperature

Games: › Warmer/cooler light sources › Hue change overlay › Convey humidness for hotness › Convey windiness for coldness

slide-9
SLIDE 9

Minecraft - https://minecraft.gamepedia.com/File:Desert_Hills.png https://minecraft-seeds.net/seed/1.0.0/wat/

slide-10
SLIDE 10

Rain-/Snowfall

Reality: › Rain clouds → rain (or other) › Also thunder

slide-11
SLIDE 11

Rain-/Snowfall

Outcomes: › Living world › Thunder

› Scary › Temporary illumination

› Gameplay changes → less visibility,

environment interactions

slide-12
SLIDE 12

Rain-/Snowfall

Games: › Falling dropplets › What › Where › Hit something › Wet camera › Thunder

slide-13
SLIDE 13

Heavy rain - https://www.pressfire.no/nyheter/PS3/6435/Heavy-Rain-komponisten-har-gtt-bort

slide-14
SLIDE 14

Wetness

Reality: › Lots of water → Dampness → rain → puddles

slide-15
SLIDE 15

Wetness

Outcome: › More humid world → feels hotter › Realistic water buildup › Gameplay changes

slide-16
SLIDE 16

Wetness

Games: › Puddle shader › Dampness shader

slide-17
SLIDE 17

https://gamedev.stackexchange.com/questions/153619/how-can-i-make-a-wet-surface-shallow-puddle-shader-i n-unity

slide-18
SLIDE 18

Day/Night cycle

Reality: › Earth rotates around sun and axis › Rayleigh Scattering + human color perception › Moving shadows › Almost every living thing reacts to this cycle

slide-19
SLIDE 19

Day/Night cycle

Outcomes: › Living world › Day is peaceful › Night is scary › Gameplay changes

slide-20
SLIDE 20

Day/Night cycle

Games: › Directional light angle changes › Realtime shadows › Rayleigh Scattering shader › NPC state change › Vegetation state changes

slide-21
SLIDE 21

Dying light - https://gamerant.com/dying-light-night-mission-gameplay/

slide-22
SLIDE 22

Clouds

Reality: › Part of earth water cycle › Shape, size controlled by humidity, temperature, wind

slide-23
SLIDE 23

Clouds

Outcomes: › Give a sense of realism › Make world feel bigger than player

slide-24
SLIDE 24

Clouds

Games: › Skybox › Floating objects › Volumetric clouds

slide-25
SLIDE 25

Volumetric cloud breakdown

slide-26
SLIDE 26

Horizon zero dawn - https://80.lv/articles/creating-clouds-in-horizon-zero-dawn/

slide-27
SLIDE 27

Fog

Reality: › When given enough air visible light will noticeably scatter

slide-28
SLIDE 28

Fog

Outcome: › Far away objects can be drawn cheaply with only silhouettes in some cases › Far away objects can seamlessly disappear › Ambiance

slide-29
SLIDE 29

Fog

Games: › Depth fog › Billboard fog › Volumetric fog

slide-30
SLIDE 30

Overgrowth - https://store.steampowered.com/app/25000/Overgrowth/

slide-31
SLIDE 31

Wind

Reality: › Air expands/contracts creating wind › Everything not bolted to the ground moves › Some living things depend on wind to survive

slide-32
SLIDE 32

Wind

Outcome: › Living world › Gameplay → interactable objects move

slide-33
SLIDE 33

Wind

Games: Wind zones (noise) → › Flora bend shader › Light objects move › Waves appear on water › Dust moves

slide-34
SLIDE 34

Witcher 3 - https://blogs-images.forbes.com/erikkain/files/2015/05/witcher3-2015-05-19-12-52-58-49-1940x1091.jpg

slide-35
SLIDE 35

Vegetation

Reality: › Reacts to temperature, humidity, daylight etc › Moves with wind › Goes into a protective state when conditions are bad › Leaves fall

slide-36
SLIDE 36

Vegetation

Outcome: › Plants and trees that react to weather › Living world

slide-37
SLIDE 37

Vegetation

Games: › Vegetation made of leveled branches › Open/closed states for blossoms › Falling leaf particles › Seasonal states for flora

slide-38
SLIDE 38

Gothic 3 - https://www.neogaf.com/threads/gothic-3-one-of-the-most-underrated-rpgs-ever.1358140/

slide-39
SLIDE 39

Water

Reality: Forces create waves → Waves splash into objects Water level changes in some places

slide-40
SLIDE 40

Water

Outcome: › Living world › Real feeling water › Good level separator

slide-41
SLIDE 41

Water

Games: › Water shader reacts to wind by creating waves › Some waves collide with objects

slide-42
SLIDE 42

Sea of thieves - https://www.digitaltrends.com/gaming/sea-of-thieves-beginners-guide/

slide-43
SLIDE 43

Animals

Reality: Animals behaviour changes with the weather

slide-44
SLIDE 44

NPCs

Outcome: › Living world › Lots of gameplay changes

slide-45
SLIDE 45

NPCs

Games: › AI state changes › AI avoids rain-/snowfall › AI goes to sleep › etc

slide-46
SLIDE 46

Minecraft - https://www.youtube.com/watch?v=V4NSF0t-FVE thumbnail

slide-47
SLIDE 47

Zones

› Grassland › Forest › Beach › Ocean › Desert › Town › Mountains

slide-48
SLIDE 48

Witcher 3 - https://wccftech.com/the-witcher-3-gui-framerate/

Grassland

slide-49
SLIDE 49

Far Cry Primal - https://www.newgamenetwork.com/media/18434/far-cry-primal/

Forest

slide-50
SLIDE 50

Risen - picture taken by me

Beach

slide-51
SLIDE 51

Sea of thieves - https://www.digitaltrends.com/gaming/sea-of-thieves-beginners-guide/

Ocean

slide-52
SLIDE 52

Fallout New Vegas (modded) - https://in.ign.com/fallout-new-vegas-pc/78356/feature/21-mods-that-overhaul-fallout-new-vegas

Desert

slide-53
SLIDE 53

Skyrim - http://www.dorkly.com/post/80669/the-20-best-feelings-in-videogames-ranked

Town

slide-54
SLIDE 54

God of war - http://www.timescall.com/entertainment/ci_31815018/god-war-kratos-rocky-mountain-gamer

Mountains

slide-55
SLIDE 55

Making a weather system

› Does your game need it?

› Would static weather suffice

› Do you have the resources? ›

Cost varies from cheap to very expensive

slide-56
SLIDE 56

What to keep in mind when creating a weather system

› Character should interact with weather › Gameplay should be effected › Don’t forget about sound

slide-57
SLIDE 57

That's a wrap

slide-58
SLIDE 58

Used materials

› Day/Night › https://www.reddit.com/r/gamedesign/comments/6actu9/are_ daynight_cycles_in_open_world_games_almost/ › https://www.pastemagazine.com/articles/2016/12/the-10-best-d aynight-cycles-in-games.html › Clouds › https://sciencing.com/clouds-made-5393253.html › https://www.youtube.com/watch?v=LLUUIAKFgWg&t=0s › Wind › https://docs.unity3d.com/Manual/terrain-WindZones.html › https://www.youtube.com/watch?v=Lz8wEsvCWMs › Vegetation › https://80.lv/articles/vegetation-creation-techniques-for-video- games/ › Water › https://www.pcgamer.com/the-best-water-in-pc-games/ › General › http://gamestudies.org/0801/articles/barton

slide-59
SLIDE 59

Used materials

› Horizon zero dawn cloud presentation › http://advances.realtimerendering.com/s2015/The%20Real-time%20V

  • lumetric%20Cloudscapes%20of%20Horizon%20-%20Zero%20Dawn

%20-%20ARTR.pdf › Rain › https://www.pcgamer.com/how-developers-make-perfect-rain-in-ga mes/ › Scishow humidity → hotness › https://www.youtube.com/watch?v=SGHRz8wpj3E › Fog › https://unity3d.com/learn/tutorials/topics/unity-artists/volumetric-fo g-fog-volume-3