No shadow light radius event and radius strange behavior

Bugs will be moved here once resolved.

Post » Mon Jan 26, 2015 6:41 pm

Problem Description
Firstly there is no event to control Shadow Light Radius.
Secondly When you set Shadow Light Radius variable >0 the line becomes infinitely long which is odd.

Attach a Capx
wanderers.capx

Description of Capx
Click to see the Shadow Light changing position. There are two instances of Shadow Light. The one from the top has no radius and the shadow ray is not infinite while the second below does have radius variable>0.

Expected Result
I would like to control the radius of the Shadow Light in real time ( in the next release maybe?) and i would like the shadow line lenght to be as long as when radius =0.

Construct 2 Version ID
R 195
You do not have the required permissions to view the files attached to this post.
B
9
S
3
G
1
Posts: 128
Reputation: 1,116

Post » Tue Jan 27, 2015 6:07 pm

Secondly When you set Shadow Light Radius variable >0 the line becomes infinitely long which is odd.

Review the manual entry - this is by design.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,361

Post » Fri Jan 30, 2015 4:35 pm

Okay Ashley. Thank you, i thought i could use the plugin to build diffuse shadows.
B
9
S
3
G
1
Posts: 128
Reputation: 1,116

Post » Fri Jan 30, 2015 4:55 pm

You can, but diffuse shadows are only supported with infinite shadow length (i.e. zero height).
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,361

Post » Fri Jan 30, 2015 6:31 pm

Yeah i mean in my case it's difficult to control. I wanted like a 2cm diffuse shader long. But it's okay i will draw it.
B
9
S
3
G
1
Posts: 128
Reputation: 1,116


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests