[Solved]Has any function could set the ViewPort into the special region?

LOL :chimpanzee_closedlaugh: so it’s “we forgot it” and not “it’s somewhere else” :chimpanzee_amused:

Looking, that stuff is automatically generated so I imagine that the jme3tests are just left out. Android is a bit of a different project and so may not have that filtered out or somehow includes it by default.

I just thought it was funny to ask me specifically about JME documentation because you already basically know as much about it as I do. :slight_smile:

Ehm you’d be surprised about all the things that I don’t know (yet). I still need to learn a lot and I hope to delegate the admin stuff and some coding stuff as soon as things started to rock’n’roll. :chimpanzee_laugh:

I learning the ‘TestRenderToTexture.java’ example.
And tried to add this effect.
But has strange effect.

:cold_sweat:

Your code looks fine from here. (What we can see of it.)

Thats weird, did you try it with out any modifications ?
I am using this heavily in my new game, and its working fine even in the android…

Here are some questions and things that you could try:

  1. Does the TestRenderToTexture.java work as expected?
  2. Could you share the code or make a small example that contains your error?
  3. Have you tried full screen mode and ScreenshotAppState for the screenshot? (Does this change anything?)

Thank everyone for help.
Finally, I fined and solved the problem.
I have wrong camera setting.
Material’s coordinates and mesh coordinates not match.
ViewPort range and FrameBuffer incorrect.

:smiley: