my scene is created and I see everthing workin perfect. I have got a viewPort. So I do something like this…
[java]
…
myFilterPostProcessor = new FilterPostProcessor(myAssetManager);
myViewPort.addProcessor(myFilterPostProcessor);
myFogFilter=new FogFilter();
myFilterPostProcessor.addFilter(myFogFilter);
…
[/java]
Your Test case works without any problems. It can’t be the graphic card. I must have done something wrong somehwere in my code. Where can I enable/disable depth rendering? In the viewport? This is enabled.
Yes, JMECanvas like you can see on the picture above. Everything else works perfectly and very fluently. Yes, it is the same for all filters. Today, my graphic card produced another error. I don’t think that it has omething to do with filters but it seems as if my OpenGL drivers are too old…
org.lwjgl.LWJGLException: Pixel format not accelerated
at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)
at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)
at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:185)
at org.lwjgl.opengl.Display.createWindow(Display.java:315)
at org.lwjgl.opengl.Display.create(Display.java:855)
at org.lwjgl.opengl.Display.create(Display.java:783)
at com.jme3.system.lwjgl.LwjglCanvas.createContext(LwjglCanvas.java:310)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:98)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:183)
[catch] at java.lang.Thread.run(Thread.java:619)
but than I do not understand why the testcase works…
at least my scene is rendering now behind the “trash output”. If I change the bloom filter parameters, I see the the blur in the scene changes. However, the “trash output” is still there. It is drawn in front of the scene. Can you please tell me where to enable/disable depth rendering?