Gray shadows using "destination in" blending...?

Get help using Construct 2

Post » Sun May 19, 2013 5:41 pm

In full screen mode my shadows were all black, but then I turned full screen off and this happens:



What on earth is going on?

To my knowledge I'm doing the same thing that the lighting sample that comes with construct 2 is doing.
B
10
S
3
G
3
Posts: 234
Reputation: 3,467

Post » Sun May 19, 2013 6:12 pm

The layer is of the same color as the Grey background of the webpage it seems, not sure how to bypass that
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Sun May 19, 2013 6:18 pm

It doesn't do this in the sample though. Look:

It has the same border as my game but the shadows are black...
B
10
S
3
G
3
Posts: 234
Reputation: 3,467

Post » Sun May 19, 2013 7:24 pm

the method I used was to set a black layer in front, with the XOR blend mode, then the light are on the black layer and uses the destination out blend mode, hope that helps
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123


Return to How do I....?

Who is online

Users browsing this forum: Shenkai the ssj and 18 guests