Hi.
I’m testing Skullstone on various hardware configurations. Now I have Dell Precision 5520 on my desktop. Skullstone runs when started from eclipse, everything is OK, despite the fact, that I had to force use of NVidia graphics, but it is case for another topic.
I have launcher written in c#, it uses DarkNotes library to run java through JNI, very nice solution, it works perfectly on my PC.
Running Skullstone with that launcher on Dell Precision causes problem I cannot solve. Things starts normally, loading and menu screens works well.
Starting the scene with dungeons (my custom materials, rendering pipeline) crashes the game with the following error in the console:
Feb 23, 2020 7:03:40 PM com.jme3.renderer.lwjgl.LwjglRenderer setFrameBuffer
SEVERE: === jMonkeyEngine FBO State ===
FrameBuffer[format=1600x900x1, drawBuf=mrt]
Depth => TextureTarget[format=Depth24]
Color(0) => TextureTarget[format=RGBA8]
Color(1) => TextureTarget[format=RGBA8]
Color(2) => TextureTarget[format=RGBA8]
Color(3) => TextureTarget[format=RGB8]
=== OpenGL FBO State ===
Context doublebuffered? false
FBO ID: 7
Is proper? true
Is bound to draw? true
Is bound to read? true
Draw buffer: GL_COLOR_ATTACHMENT0
Read buffer: GL_COLOR_ATTACHMENT0
== Renderbuffer Depth ==
RB ID: -1
Is proper? false
Type: Texture
== Renderbuffer Color0 ==
RB ID: -1
Is proper? false
Type: Texture
== Renderbuffer Color1 ==
RB ID: -1
Is proper? false
Type: Texture
== Renderbuffer Color2 ==
RB ID: -1
Is proper? false
Type: Texture
== Renderbuffer Color3 ==
RB ID: -1
Is proper? false
Type: Texture
Feb 23, 2020 7:03:40 PM com.jme3.app.Application handleError
SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
java.lang.IllegalStateException: Framebuffer has erronous attachment.
at com.jme3.renderer.lwjgl.LwjglRenderer.checkFrameBufferError(LwjglRenderer.java:1323)
at com.jme3.renderer.lwjgl.LwjglRenderer.setFrameBuffer(LwjglRenderer.java:1602)
at com.dungeongame.gameclient.scene3d.c.c.postQueue(Unknown Source)
at com.dungeongame.gameclient.scene3d.l.a(Unknown Source)
at com.dungeongame.gameclient.scene3d.l.render(Unknown Source)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:252)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151)
at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:185)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:228)
at java.lang.Thread.run(Unknown Source)
Do you have any idea?