Learn › Godot 3D Advanced

Lesson 3 of 5 · About 6 min

Seeing through the world

Why a 3D game seen from above needs to see through tall things, how Sunny Valley fades what stands between the camera and the hero, and how the stars reward exploring.

Tall things hide the hero

Sunny Valley's camera looks down at the hero from behind and above. When the hero walks behind the clock tower, a house or the windmill, the building would hide them. So every tall thing is put in a list, occl, and each frame the game fades whatever stands between the camera and the hero.

Every house, the windmill and every place taller than 2.5 metres join the list by themselves.

Godot 3D Advanced is a course for paid accounts. The rest of this lesson, and its guided session, are in the app.

Start makingDownload on the App StoreGet it on Google Play