Shadows block all lights?

Software: Away3D 4.x

empend, Member
Posted: 06 November 2011 08:25 AM   Total Posts: 77

I have a directional light casting shadows, and a point light in the scene.
The shadows block light from both sources.
Is this a known problem, or can I fix it some how?

   

John Wilson, Member
Posted: 06 November 2011 09:41 AM   Total Posts: 62   [ # 1 ]

It’s hard to know exactly what your problem is, but the following, where “sunLight” is a DirectionalLight, works well for me:

var m:BitmapMaterial = new BitmapMaterial(new GroundMap().bitmapData);
var 
softShadowMapMethod:SoftShadowMapMethod = new SoftShadowMapMethod(sunLight);
softShadowMapMethod.stepSize .1;
m.shadowMethod softShadowMapMethod
   

empend, Member
Posted: 06 November 2011 09:53 AM   Total Posts: 77   [ # 2 ]

The shadows are there, and do work with the directionalLight, but the shadows shouldn’t block other lights.
Which the shadows are blocking the other lights from lighting up the shadowed areas.

I have a directionalLight casting shadows perfectly fine.
Then I have a point light right over a shadow, but the shadow blocks the pointLight light.

Understand?

   

opop, Newbie
Posted: 15 November 2011 09:27 AM   Total Posts: 1   [ # 3 ]

i got same thing http://deepdesign.kz/test/shadows.html
also, at moment, there some other issues with using combinations of lights visible in my example

   

empend, Member
Posted: 15 November 2011 10:58 PM   Total Posts: 77   [ # 4 ]

Thats exactly my problem, and I’m very glad someone else has this problem.
I hope it gets fixed.

   

roco, Newbie
Posted: 12 April 2012 10:10 AM   Total Posts: 8   [ # 5 ]

+1 please fix :(

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X