Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Lighting not working?

A topic by Cmski created Jun 26, 2021 Views: 139 Replies: 5
Viewing posts 1 to 3

Hi I've been following the instruction manual and it's all working fine except that the lighting isn't working for me. I've put the World Environment in but nothing happens. Is there something I'm missing? I opened up your demo and copied the lighting and nothing happens.

Ok so the spot lights affects sprite stacked objects and that's it

(3 edits)

yeah for now only point lights affect sprites. I plan to eventually make sprites interact with spot lights but I couldn't quite get it to look and work right. Does the other lighting work?


Essentially right now sprites use a cheap work around to interact with point lights. Billboards are tricky to get lighting to look correct, and I have yet to find a proper solution (since even a 3d plane rotated around would give weird results as well).

Ahh - That explains it! Thank you for your reply!

if you're feeling up to the task I have a sprite color management script in lib_WorldEnvironment that essentially does what a shader does but on the CPU instead with standard GM color functions. That is where I interact with the point lights

That sounds exciting! I could give it a go.

moved this topic to Questions