Commits

Michael Ludwig committed 3bf82aa

Correct missing shadow maps.

Comments (0)

Files changed (1)

ferox-scene/src/main/java/com/ferox/scene/controller/ffp2/ShadowMapCache.java

 
             StateNode renderNode = geomNode.getChild(renderStateIndex);
             if (renderNode == null) {
-                renderNode = new StateNode(renderLookup.get(renderStateIndex));
+                renderNode = new StateNode(renderLookup.get(renderStateIndex)
+                                                       .cloneGeometry());
                 geomNode.setChild(renderStateIndex, renderNode);
             }