Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Thanks very much!

It was my first time doing line of sight like this too so it took some figuring out. The technique was a bit convoluted, but If you're interested , it was

Ray trace from the player to all the corners -> make a Polygon2D from the results -> add to a SubViewport. Then you can feed the SubViewport's texture into a shader to lighten or darken the ground.

(+1)

holy moly! thank you i shall experiment :)