0

Hello I would like to know how I can clip off part of a texture that overlaps with another texture. Like the image below but without rendering part of the overlapped white "X". The octagon has an alpha transparency, i want to be able to see every thing under it except part of the overlapped white X.

white sprite should be clipped

Harry
  • 1,021
  • 4
  • 21
  • 41

1 Answers1

0

Maybe this can help you libgdx open gles 2.0 stencil alpha masking

It Looks like you Need to use a mask..

Another link, where I had my own Problem, where I used a depth buffer would be this here:

https://gamedev.stackexchange.com/questions/119821/libgdx-shaperender-within-a-circle-as-limitter/119869#119869

I hope this will help you furthermore.

Community
  • 1
  • 1
Keey
  • 199
  • 1
  • 15