Skip to main content

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

Hi, is it possible to exclude certain object instances from being affected by the lighting system? For example, I want some instance's icons or markers in the game to remain unaffected by lights, shadows, or day/night cycles.thanks!

Hello!

Yes, I prepared a tutorial recently explaining this, check out this link (Troubleshooting).

I hope this helps ^^

(+1)

Thanks!!! got it.

I have another question.  When I set SetMaterialsEnable(true), the instance is drawn twice—once in Draw and once in Draw GUI (with one being a ghost image that doesn't update when the object moves). Why does this happen?thanks

(1 edit)

Crystal should never be drawn in the Draw GUI unless you are calling the .Render() function in the Draw GUI event (which is not recommended)