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

A dark maze in style quickly becomes a scene, where you want to hide (from) things (even if its just more maze halls) around corners, outsside ones LineOfSignt. you have 3 lighta, so its basically missing shadows:

is what i was expecting. 3 ways to do it:

0) in a fragment shader, trace path from pixel to each light source, if it is (not) occluded. (shadertoy.com does lots of soft shadow approaches)

1) (for each light source,) each occluding wall has (near) infinite height (at least always reaches behind the camera), and the very high walls https://en.wikipedia.org/wiki/Vanishing_point s are below the ground and behind the light source. (easy, if camera is above that light source, trickier otherwise). (only makes hard shadows)

3) simpler geometry: (for ai awareness), measure multiple triangle slice borders for occludes. https://unitycodemonkey.com/video.php?v=3-jPo2wzvdw

Oh, thank you so much! I'll read up on this, thanks for the feedback and the help, I really appreciate it!!! :)