From 3c84826db174ea7b3c0dee4ca8f43d2e3ac53893 Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Mon, 24 Dec 2012 10:14:34 +0000 Subject: [PATCH] Shadows,fixed an issue when PolyOffset was not properly applied on lighting material git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10044 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core-data/Common/MatDefs/Light/Lighting.j3md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/core-data/Common/MatDefs/Light/Lighting.j3md b/engine/src/core-data/Common/MatDefs/Light/Lighting.j3md index 54bfdee76..b4a8e6c53 100644 --- a/engine/src/core-data/Common/MatDefs/Light/Lighting.j3md +++ b/engine/src/core-data/Common/MatDefs/Light/Lighting.j3md @@ -188,7 +188,7 @@ MaterialDef Phong Lighting { DISCARD_ALPHA : AlphaDiscardThreshold } - RenderState { + ForcedRenderState { FaceCull Off DepthTest On DepthWrite On