Dynamic light and shadow

Get help using Construct 2

Post » Sat Jun 07, 2014 8:04 am

https://drive.google.com/file/d/0BwP9Dg ... sp=sharing

I am attempting to create dynamic lights and shadows using bump mapping. The idea is that we are taking a bird's eye view of the scene which the sun is orbiting (rising and setting) around. Clouds should scroll across the screen and block the light from the sun, and shadows should project out from all sprites based on the sun's position and height. The bump-mapping part was easy enough when starting from the C2 example, but I don't know how to cast shadows or what webGL effects to use to make the clouds display correctly. Looking forward to your advice. :)

Note that the shadows I'm talking about here are different from the ones provided by the Shadow Caster Plugin, which is focused more on visibility. Shadows here are sprites with an opacity and angle, rather than raycasts. Think like this:
Image
Last edited by seven on Tue Jun 10, 2014 8:38 am, edited 1 time in total.
B
12
S
3
Posts: 39
Reputation: 1,001

Post » Sat Jun 07, 2014 5:40 pm

BUMP: I didn't share the file correctly before. My bad!
B
12
S
3
Posts: 39
Reputation: 1,001

Post » Tue Jun 10, 2014 8:38 am

Bump.
B
12
S
3
Posts: 39
Reputation: 1,001


Return to How do I....?

Who is online

Users browsing this forum: atmas, engin20020, gamecorpstudio, rbailey83, tarek2 and 21 guests