Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

i would love to know how you light up only the surface pixels!

(1 edit)

Nothing too fancy! The base tile map looks like this:

so the tile borders are already a little brighter than the insides. Then I added an occlusion layer and covered up everything but the borders

Then I attached a point light to the player, and that's it! For the lighting, at least. The brick pattern comes from applying a shader that blends a repeating brick texture with the base tile map.

(+1)

interesting. i thought you used Normal maps, so i ended up making a small prototype with a tileset with normals and it worked similarly