Any idea why shadowcasting doesn't work with gpu_set_ztestenable(true); even if i set gpu_set_ztestenable(false); before drawing lighting?
i was able to get lights working by setting it to false and then back to true after.. but the shadowcaster side of the lighting system doesn't like that and refuses to cast shadows.
I might have to do without shadowcasters 😭
At least I was able to get lights working with the shader grass I'm using
If you are able to update the asset to include shadowcasters that work when gpu_set_ztestenable(true) is set, that'd be great.
I tried getting the shader grass I'm using (TouchGrass) to work without gpu_set_ztestenable(true); but it was always invisible, everything i tried.
I think I'm gonna have to give up trying and settle for what I was able to get working, lights + grass.













