The new Lighting & Shadowing System

Discussion and feedback on Construct 2

Post » Thu Jun 05, 2014 7:10 pm

This is great! Looking forward to seeing more uses of the lighting and shadow system.
B
9
S
3
G
4
Posts: 80
Reputation: 3,273

Post » Fri Jun 06, 2014 6:34 pm

@Ashley

First of all, thank you so much for further developing the shadow system! :D

I am trying to use the tags to create a scene where a crate that casts shadows is being shadowed by a wall that is supposed to be higher. I can't get how the tagging system works. Can you tell me what I am doing wrong? How am I supposed to differentiate the lights? As it is now, both lights are casting shadows on both objects.

Please, see the following example
You do not have the required permissions to view the files attached to this post.
composer - multimedia artist
www.eli0s.com/en/
B
69
S
27
G
6
Posts: 1,146
Reputation: 10,379

Post » Fri Jun 06, 2014 6:57 pm

@eli0s - both lights are set to cast from 'all'. You need to change that to 'same tag'. Also note system expressions don't pick objects so comparing the tag and moving the Z order will always move both of them.
Scirra Founder
B
399
S
236
G
89
Posts: 24,525
Reputation: 195,382

Post » Fri Jun 06, 2014 9:03 pm

Ashley wrote:@eli0s - both lights are set to cast from 'all'. You need to change that to 'same tag'. Also note system expressions don't pick objects so comparing the tag and moving the Z order will always move both of them.


Damn! I didn't even saw those parameters... It's even simpler than I expected ;)

Now, one last thing as food for thought. Is it possible to make semi-transparent shadows not build up when on top of each other (or have it as an option)..?

Look at the following example:

ShadowBuildUp.capx

The desired visual result is the right one. But this is made by having the shadows 100% black on a separate layer, and lowering the layer's opacity. On the left side, the multi-z-ordered nature of the scene does not allow for such a solution, and the shadows build up, thus creating an unnatural result for a scene that it's supposaly lit from one directional source (the Sun) and has an ambient light (the sky) "breaking" the shadows...
You do not have the required permissions to view the files attached to this post.
composer - multimedia artist
www.eli0s.com/en/
B
69
S
27
G
6
Posts: 1,146
Reputation: 10,379

Post » Sat Jun 07, 2014 7:06 pm

Good example @eli0s . Thanks!
B
159
S
27
G
17
Posts: 916
Reputation: 32,666

Post » Mon Jun 09, 2014 10:03 am

Thanks @iceangel , I 'd really like to know if someone find a solution for this.
composer - multimedia artist
www.eli0s.com/en/
B
69
S
27
G
6
Posts: 1,146
Reputation: 10,379

Post » Tue Jun 10, 2014 2:37 pm

I'm making a library for 3d and use the light system. Thanks @eli0s.
B
159
S
27
G
17
Posts: 916
Reputation: 32,666

Post » Tue Jun 10, 2014 10:51 pm

@iceangel you mean with the new Q3D plugin? Or by somehow faking the 3d space..??? Either way, I am very-veeeery interested to see the results ;)
composer - multimedia artist
www.eli0s.com/en/
B
69
S
27
G
6
Posts: 1,146
Reputation: 10,379

Post » Wed Jun 11, 2014 4:49 am

Simulate 3D space. Ok ;)
B
159
S
27
G
17
Posts: 916
Reputation: 32,666

Post » Thu Jun 26, 2014 10:54 pm

@eli0s thanks for all the feedback, its very helpful!
B
13
S
5
G
1
Posts: 119
Reputation: 2,292

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: Baidu [Spider], Yahoo [Bot] and 6 guests