How does the Masking shader work?

For questions about using Classic.

Post » Thu Jan 15, 2009 8:11 pm

I were trying to use it to make it look like our character is walking behind something wihtout having to make a seperate object to cover him up.

like He was trying to walk behind a pillar that is built into the map and normally he would just always be ontop of it but I want it to look like he was walking behind it with out using a seperate object to cover him.
B
5
S
2
G
4
Posts: 632
Reputation: 2,829

Post » Thu Jan 15, 2009 9:37 pm

Create a transparent block with the mask effect(the mask object essentially sets the alpha of objects behind it to the alpha from the image), stretch it over the pillar, then check the "Force Own Texture" on the layer properties for the layer it's on. Although for this to work right you'll want to put the character and mask effects on a layer above the scenery, otherwise you'll end up erasing everything behind the mask object.
Moderator
B
97
S
36
G
19
Posts: 1,584
Reputation: 17,692

Post » Sun Jan 18, 2009 4:10 am

Interesting. I never would have thought you could do that sort of thing.
B
3
S
2
G
4
Posts: 271
Reputation: 2,017


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests