Masking is a digital image processing term simialar in concept to bitmasking. An image mask is applyed pixel-by-pixel to other image and behaves like a sieve to color values.

learn more… | top users | synonyms

1
vote
2answers
261 views

How are red dot/reflex/holographic sights implemented?

In first-person-shooters like Call of Duty, the hologram only appears when it is behind the glass portion of the sight. In OpenGL, would it be implemented by rendering the glass to the stencil buffer ...
3
votes
1answer
125 views

How to use a mask texture with Kobold2D

I am an iOS developer but I'm new to cocos2d. I'm working on new game, I use Kobold2D, have cocos2d installed too, and I want to make this effect: I know how is done with Flash, but can't make it ...
1
vote
0answers
77 views

Unity Free Inverse Depth Mask?

How would it be possible to create an inverse depth mask? In this case, I refer to a depth mask as a shader attached to a mesh that 'pokes a hole' through the current camera layer to let you see the ...
0
votes
0answers
21 views

Can I break the UI MASK hierarchy in unity 4.6?

I'm using unity 4.6. I saw a couple of UI masks tutorials and saw that there's a certain hierarchy I can't seem to break: -Canvas --- Panel (holds the mask component) --------Image I want to move ...
0
votes
0answers
31 views

Save CameraRoll image as a movieclip as3

I want to be able to take the image captured by the mobile device camera, crop a small portion of the image, and save the cropped area to a new movie clip. The cropping takes place by placing a mask ...
0
votes
0answers
32 views

Can Layer Masks Achieve This Effect

If you look at the image below you will see the player surrounded by a dotted yellow box. The dotted yellow box is also part of the player and represented a portion of the player being masked from ...
0
votes
0answers
42 views

Is it possible to mask over CameraUI AS3?

My idea is to use the CameraUI to take a photo and then transpose that photo onto a blank sprite. So I want to have a mask layer over the CameraUI to line up the object with the size of the sprite. ...
0
votes
0answers
35 views

XNA alpha channel mask

I'm trying to highlight a portion of the screen, such that the entire screen is covered with a semi-transparent black mask but part of that mask is "cut out", kind of like it's being lit up while ...
0
votes
0answers
36 views

XNA 2D Stencil Buffer Rotation

I am currently working on a 2d game related to planets and am trying to get a stencil buffer working with rotation. I currently have a stencil buffer found from another related answer but it refuses ...