Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  XOR with texture masked  (Read 383 times)
0 Members and 1 Guest are viewing this topic.
Offline stiva

JGO n00b
*

Posts: 9


Java games rock!


« on: 2005-08-30 15:37:09 »

Hi,

I'm working in a 2D editor ( polygons, rectangles, circles, lines, images, etc). Images are represented by textured polygons.
To translate the shapes fast I use the xor operation. My problem is when I translating a masked image.

The xor operation don't respect the alpha channel, and  the masked area from image appear white.

Any idea?

Thank's.

Stiva
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.061 seconds with 21 queries.