N sources shadows??

Software: Away3D 4.x

Avatar
vorodis2, Newbie
Posted: 01 February 2013 11:22 PM   Total Posts: 22

I want to make analog.
http://unity3d.com/gallery/live-demos/shadows
Is it possible to ustonovil neskololko sources with shadows? If so please give a hint. If not, will they be in you next release?
Sorry for the English.

   

_kihu, Jr. Member
Posted: 04 February 2013 09:52 AM   Total Posts: 43   [ # 1 ]

Take a look at LightPicker class. Put a couple od DirectLights into the lightPicker and then assign the lightPicker to the material. I think it should work.

Btw, is this russian?:)
http://tinyurl.com/c4tettm

   

Avatar
vorodis2, Newbie
Posted: 05 February 2013 04:40 PM   Total Posts: 22   [ # 2 ]

The example of the ant demo
http://away3d.com/examples/away3d_4_0/Basic_Load3DS/Basic_Load3DS.html

_groundMaterial = new TextureMaterial(Cast.bitmapTexture(SandTexture));
   
_groundMaterial.shadowMethod = new FilteredShadowMapMethod(_light);
   
_groundMaterial.lightPicker _lightPicker

I do not quite understand how you propose to do it.
Since this method seems to be only one shade
//_groundMaterial.shadowMethod
If I vstovlyayu a group that works only odnya shadow.

_light = new DirectionalLight(-1, -11);
_light2 = new DirectionalLight(-1, -11);
_lightPicker = new StaticLightPicker([_light,_light2......]); 

Almost Russia (Ukraine)

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X