Skip to main content

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

Issue with Obfuscated Lighting

A topic by ninevoltworm created Feb 13, 2023 Views: 185 Replies: 3
Viewing posts 1 to 3

Currently having an issue where lighting is obscured from the bottom-right corer of the room. Lighting seems to fade out suddenly when pointing towards that region. The issue is not only visible in the SpotLight entity, but also the skewing of the PointLights and how ground sprites are lit.

Also, I love Fauxton 3D, and it's been a lot of fun learning for me so far! So I apologize if this issue is a basic misunderstanding or misuse of the extension.

I made a project from scratch to replicate this issue once I found it in-game. Lighting in the demo source (room 4) functions perfectly fine on my version of GMS2, but I'm having difficulty finding what is causing the issue on new projects.

(+1)

looks like it could be an issue with draw ordering? Maybe re ordering the light / elements will solve it? Alpha channels can be tricky in 3d in general. That would be my guess though. 

(+1)

Thank you! I'll try fiddling with things there!

Sorry to reopen this post from a year ago, but upon testing, I think it might have to do with the light variable z; if it's too low, your light might be obscured.