A
A
alkolove12019-10-26 21:18:31
Java
alkolove1, 2019-10-26 21:18:31

How to copy background circle on libgdx?

The put-pixel / set-pixel option is quite gluttonous for realtime, and even for mobile phones.
OpenGL has such a wonderful feature as the Stencil buffer. But I don't own it at all.
Tell me how to copy (not cut) a part of the background at the given XY coordinates in the form of a mask-circle using this buffer, and apply it to the same background but with some offset.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question