Applying an effect on a sprite mask

Get help using Construct 2

Post » Fri Jun 21, 2013 10:30 am

Hi,

Im trying to recreate my dynamic lighting bump map tech.

See concept here.

My (faulty) approach in C2 sofar:

The diffuse texture and light sprite are on layer "Floor", sprite on top of the texture. Below that is the layer "Bump", which holds the normal map texture.

Layer "Floor" blend mode: source atop
Light Sprite blend mode: destination out

This is nicely cutting through, revealing the underlying normal map through the sprite.

However, when I apply any shader to the light sprite (bumpmapping for instance), it wont render properly.

Maybe I am misinterpeting the blend mode render targets, or the stacking of such with effects?
Image
B
19
S
6
G
1
Posts: 125
Reputation: 2,086

Return to How do I....?

Who is online

Users browsing this forum: Artcadev and 5 guests