I am trying to display a fullscreen quad with a solid texture
I started editing TestBloom as a test, this is what i've done
-I removed all shader code but "finalshader" (i couldn't get the fullscreen quad to be fullscreen with out this)
-I replaced the fullscreen quad's texture with jmetest/data/logo.jpg instead of the scene texture
My result is a fullscreen quad displaying the logo.jpg texture, however the quad is opaque (the white part is solid, but I can see the scene though the monkey part)
I assume this is a product of the "finalshader". How to do modify it to render a solid texture? Or how do I make the fullscreen quad be fullscreen with out shaders?
I have tried some of the HUD tutorials, but they all left me with a quad that wasn't locked onto the screen.
eep. You will need to resize it if you resize the screen, but something as simple as this should give you a fullscreen quad:
float w = DisplaySystem.getDisplaySystem().getWidth();
float h = DisplaySystem.getDisplaySystem().getHeight();
Quad fsq = new Quad("FullscreenQuad", w, h);
fsq.setRenderQueueMode(Renderer.QUEUE_ORTHO);
fsq.setLocalTranslation(w / 2, h / 2, 0);
That code worked in a simpleGame example and i'm already using something simular, so i guess there must be a problem elsewhere in my code.