Skip to main content

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

Thanks for the kind words!

What I did for the TV light was pretty simple, I take the viewport texture of the TV screen (including the text bits and glitch effects), resize it in code to 8x8 linearly, then I crawl through all of those pixels, averaging them into one final color as I go. Then I apply that to the shadowed light coming from the TV, an unshadowed light in front of it to simulate bounce lighting, and a radial sprite in front of the TV to emulate glow.

I could’ve made more than one shadowed light, or increased the downscale resolution, but since I was aiming for browser builds, I kept it very simple and mostly performant :)