0

I want to render everything that is in my JFrame to be rendered to a texture. Like this: enter image description here

Is there any method to do this? Maybe I should render Graphics to a texture? If yes how?

When image is rendered to a texure, I want to process it (make it lighter, add bloom, blur). Is this possible to do without any libraries?

boyernek
  • 45
  • 8
  • Does this help? https://stackoverflow.com/questions/5853879/swing-obtain-image-of-jframe - rendering components to the image's Graphics object and then applying transforms to those should do what you want. – Thomas Mar 10 '21 at 15:38
  • Check out the [Screen Image](https://tips4java.wordpress.com/2008/10/13/screen-image/) class. It allows you to create a BuffereredImage for the entire desktop, the frame, any component in the frame or any rectangle in the frame. – camickr Mar 10 '21 at 15:38
  • @clamickr When i type this in eclipse it says, that this class doesn't exist. – boyernek Mar 10 '21 at 15:45

0 Answers0