Get the latest tech news

Light and Shadow


Create Light and Shadow in Godot Engine 4.

Both lights produce the desired lighting.Note that because movable objects no longer shadow themselves we can reset their cull mode setting back to the default. This is the fourth tutorial in a series that covers the creation of a simple true top-down 2D game with pixel graphics, using the Godot Engine, version 4. One imperfection of our lighting is that we can get phantom shadows cast in front of movable objects when they aren't positioned on exact integer coordinates.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of light

light

Photo of shadow

shadow

Related news:

News photo

Wilmot Works It Out review - light, jigsaw goodness

News photo

Investors bet on the power of light, diamonds in the trash, and more

News photo

Write with heat, erase with light: New tech could revolutionize data storage