summaryrefslogtreecommitdiffstats
path: root/scene/3d/light.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/light.h')
-rw-r--r--scene/3d/light.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/light.h b/scene/3d/light.h
index 9fdd7295dc..8e7395fd84 100644
--- a/scene/3d/light.h
+++ b/scene/3d/light.h
@@ -197,7 +197,7 @@ protected:
public:
- OmniLight() : Light( VisualServer::LIGHT_OMNI ) {}
+ OmniLight() : Light( VisualServer::LIGHT_OMNI ) { set_parameter(PARAM_SHADOW_Z_OFFSET,0.001);}
};
class SpotLight : public Light {