We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c86112 commit ad66131Copy full SHA for ad66131
jme3-core/src/main/java/com/jme3/shadow/SpotLightShadowRenderer.java
@@ -174,9 +174,9 @@ protected Camera getShadowCam(int shadowMapIndex) {
174
protected void doDisplayFrustumDebug(int shadowMapIndex) {
175
Vector3f[] points2 = points.clone();
176
177
- getMainScene().attachChild(createFrustum(points, shadowMapIndex));
+ getSceneForDebug().attachChild(createFrustum(points, shadowMapIndex));
178
ShadowUtil.updateFrustumPoints2(shadowCam, points2);
179
- getMainScene().attachChild(createFrustum(points2, shadowMapIndex));
+ getSceneForDebug().attachChild(createFrustum(points2, shadowMapIndex));
180
}
181
182
@Override
0 commit comments