How to get the shadow map of the current light in godot?
I do not think you can get the shadow map texture directly. You can turn shadows on and off though by setting the shadows_enabled property (I think that is the name)
shadows_enabled
@TwistedTwigleg said: I do not think you can get the shadow map texture directly. You can turn shadows on and off though by setting the shadows_enabled property (I think that is the name) I need shadow maps to do some calculations, but this method only lets me see the rendered result.
If you're looking to implement a Thief-style light sensor, you can rely on distance calculations and raycasts relative to lights around the player. See also https://github.com/godotengine/godot-proposals/issues/2198.