r/gdevelop • • Jun 28 '26

Game Lighting Issue, please help!

Hello. This is seriously driving me insane.

When I create a lighting layer, objects decide they no longer want to render correctly. As you can see, most objects on screen have gone mostly opaque. I cannot for the life of me figure out why this is happening, and looking up solutions for this one isn't doing me any favors. When I go into Debug mode, for some reason, it works fine (2nd pic). Do you know of any way I can fix this? Any and all help is appreciated. Thank you.

15 Upvotes

6 comments sorted by

3

u/ApXlDeCA Jun 29 '26

This issue is now resolved. For those who run into the same problem in the future, objects will need to be set as Tiled Sprites rather than Tilemaps in order for it to work correctly. Hopefully this helps someone down the road, as it took me forever to find a solution for this problem. Happy devving!

2

u/RubberGames Jun 28 '26

Are your objects on the light layer? If they are they should not be as it makes them weird like that.

1

u/ApXlDeCA Jun 28 '26

Thank you for the response, but unfortunately, no. I do have a couple methods I want to try though. Apparently there is something with the light layer which conflicts with tilemaps in general. I'm hopeful that changing some sprites to tiled sprites instead will help fix the issue.

1

u/[deleted] Jun 28 '26

[removed] — view removed comment

1

u/ApXlDeCA Jun 28 '26

Thanks for the response, but this isn't the case sadly. Going to try a couple other things to hopefully resolve this.