Hard to tell from here but do your walls have thickness or are they flat planes (I assume they have thickness).
…if you have back shadows turns on then you probably want to turn that off. I don’t remember the specific option. Things facing away from the light will already be shaded.
@pspeed Found another issue, as long as I have the shadow enabled (by using either DirectionalLightShadowRenderer or DirectionalLightShadowFilter), I got a black screen when I press ALT+TAB to switch back to my IDE. It can be reproduced consistently in following steps:
JME application is in full screen mode;
Press ALT+TAB, I got a black screen. Nothing happens if I press ESC key.
Press ALT+TAB again, I still have the black screen. Application can be exit by pressing ESC key.
The issue is gone if I comment out the shadow code. I’m using JME 3.6.1-stable.
Also maybe specify your OS, graphics card and LWJGL version. If you can, make a minimal code version of this case you can share here. Also make sure you are sporting the latest graphics drivers.
Hmm…when I tried to collect information. I found the black screen issue persist even without shadow enabled. As long as it’s in full screen mode, the issue is there. Here’s the code for full screen I wrote:
GraphicsDevice gd = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();
int w = gd.getDisplayMode().getWidth();
int h = gd.getDisplayMode().getHeight();
appSettings.setFullscreen(true);
appSettings.setWidth(w);
appSettings.setHeight(h);
And here’s the environment info:
OS: Windows 10 64bit.
Pasted following logs from console. Please ignore a few Chinese as those are just WARNING/INFO.
Nov 19, 2023 1:40:43 PM com.jme3.system.JmeSystemDelegate lambda$new$1
警告: JmeDialogsFactory implementation not found.
Nov 19, 2023 1:40:43 PM com.jme3.system.JmeDesktopSystem initialize
信息: Running on jMonkeyEngine 3.6.1-stable
Branch: HEAD
Git Hash: 4de10c3
Build Date: 2023-06-23
Nov 19, 2023 1:40:43 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
信息: LWJGL 2.9.5 context running on thread jME3 Main