Shadows and specular

Software: Away3D 4.x

Svist, Newbie
Posted: 20 November 2013 02:58 PM   Total Posts: 14

Hi!

In the process of working with shadows and reflections found trouble.
On picture 1 shows how the shadow falls on the floor. When we change the camera angle you can see the reflection from the light brightens shadow (picture 2), resulting in the shadow disappears.

Tell me how to avoid this?

Remove specular I can not because there are models that have a specular map. In the light of which specular zero defeats the purpose of specular map.

 

   

Avatar
GoroMatsumoto, Sr. Member
Posted: 04 December 2013 03:36 PM   Total Posts: 166   [ # 1 ]

You should not use shadow.alpha.
You can use light.ambient.

shadow.alpha 1;
srcLight.ambient .5
   

Svist, Newbie
Posted: 04 December 2013 04:06 PM   Total Posts: 14   [ # 2 ]

Thank you.
The problem disappeared when I started using a normal map and specular.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X