Offscreen Rendering Problem

What “does not work”?

don’t work for me(when i change setClearEnabled() to setClearColor(true) dont work too)… are there any actual versions to do it?

in TestRenderToMemory

i changed

Material material = (Material) manager.loadContent(“jme_logo.j3m”);


Material material = assetManager.loadMaterial(“Materials/steel.j3m”); (yes existing)

the output is all white… no box rotating like in example





changing to:



Material material = assetManager.loadMaterial(“Interface/Logo/Logo.j3m”);

Material mat = new Material(assetManager, “Common/MatDefs/Misc/SimpleTextured.j3md”);


Material material = assetManager.loadMaterial(“Materials/steel.j3m”);

Material mat = new Material(assetManager, “Common/MatDefs/Misc/Unshaded.j3md”);

give grey box (grey i mean all face is grey - no box on texture)

steel.j3m uses lighting afaik, you cannot see it without light.

1 Like

yes it was… changed to unshaded with the same result :frowning:

… well the test class works, you change it, it doesn’t work… check what you do different (look at the j3m file). Also make sure you created a new test project with the current versions of the tests.

1 Like

r6970 is newest Revision? i have it

i downloaded Logo.j3m(with image for it), the result is still the same

You need to create a new test project. The old one will have old data. Again, the test works, find out why your code doesn’t.

1 Like

summing up: i don’t manage to get any newer version i had.

Yes test works, but you can also say that in older JME2 something work too…

but nevermind i just added:




and it work

tnx for “motivating” :wink: