How do I realistic looking shadows...

Get help using Construct 2

Post » Fri Jul 18, 2014 12:59 am

...using scirra's shadow and light caster?
Its really confusing take a look at attachment
You do not have the required permissions to view the files attached to this post.
Last edited by delgado on Fri Jul 18, 2014 10:21 am, edited 1 time in total.
B
111
S
28
G
48
Posts: 1,882
Reputation: 36,428

Post » Fri Jul 18, 2014 11:24 am

@Ashley do you have solution for this? in my opinion shadow should change to gradient from opacity 100 to 0 when he ends, otherwise simple torch cast shadow to other side of level.
B
111
S
28
G
48
Posts: 1,882
Reputation: 36,428

Post » Fri Jul 18, 2014 11:59 am

I'm not clear what you are after. If you want realistic 3D shadows, that is not supported.
Scirra Founder
B
399
S
236
G
89
Posts: 24,542
Reputation: 195,428

Post » Fri Jul 18, 2014 12:18 pm

@Ashley no i dont want 3d shadows, im only lookong for solution how blend plugin shadows colors with other shadows of layout.
how to mix color merged with the color of the rest of the shadows
Take a look at image i attached at first place because my english is not very well

plugin Shadow can't be darker than world shadow, shadow cant be longer than light range, thats for me is realistic shadow
B
111
S
28
G
48
Posts: 1,882
Reputation: 36,428

Post » Fri Jul 18, 2014 12:27 pm

How should the plugin shadow know the pixel it is overlapping is darker than the pixel next to it while the shadow is overlapping?
Should the program calculate every pixel next to the shadowcaster to determine if shadowcasters pixels should be visible or of lower opacity?

Only way I see to do what you'd like (and no it's not perfect) is to have all the shadows (including those of the background) on one layer and have that layer set to the opacity required..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Jul 18, 2014 12:30 pm

Check here

https://www.scirra.com/manual/178/shadow-light

for Shadow light actions

in the same link of the manual look for light radius and height , do some experiments , i understand what you are after , but what i send is probably your best shot to come close.

P.S

Little Stain is right also.
Hire or Offer a project

Portfolio

Scirra new Shop
B
34
S
5
G
1
Posts: 118
Reputation: 2,663

Post » Fri Jul 18, 2014 12:40 pm

@LittleStain @Michaelb
maybe we should have a possibility to add (for a new plugin) darkness?
In 3ds max i observed when in scene has no light objects ALL OTHER OBJECTS 3d are naturally highlighted, but when we add one light, darkness falls and we must adjust the range of the light.

And this is what I mean that's what is missing
B
111
S
28
G
48
Posts: 1,882
Reputation: 36,428

Post » Fri Jul 18, 2014 1:25 pm

This might be more of your liking..

Just added a light-distance circle to the original soft-penumbruns example
You do not have the required permissions to view the files attached to this post.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Jul 18, 2014 2:06 pm

@LittleStain look at my image i attached, i do exacly this same what you make for me.
You use 100 opacity of shadows (looks great) but i need to use less opacity I will be happy if Ashley do something whit this, If he did not do it nobody will.

The game wants to make the time of day, dawn dusk night
B
111
S
28
G
48
Posts: 1,882
Reputation: 36,428

Post » Fri Jul 18, 2014 6:06 pm

@Ashley I noticed something else, shadow who falls near other light source is still a shadow
You do not have the required permissions to view the files attached to this post.
B
111
S
28
G
48
Posts: 1,882
Reputation: 36,428


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 20 guests