Question

I'm trying to make a pause screen with the last frame of a 3D scene rendered to a texture, over which I would render a black rectangle with half alpha and some text. I thought that using ...

ScreenUtils.getFrameBufferTexture()

... was the easiest option, but models whose textures lack of this attribute ...

BlendingAttribute(GL20.GL_SRC_ALPHA, GL20.GL_ONE_MINUS_SRC_ALPHA)

... would not be rendered at all in the screenshot.

Example:

Pre Post

Why is this happening?

Was it helpful?

Solution

OK, this has already been fixed in the latest nightlies. Just update your project with them.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top