away3d / away3d-core-fp11 directional light

Software: Away3D 4.x

Alex M, Newbie
Posted: 13 October 2011 06:44 PM   Total Posts: 2

Hi,

Something wrong with directional light with last github updates. Try 6 lights like cube directions for reflective sphere:

private var _light1: DirectionalLight = new DirectionalLight(1, 0, 0);
  private var _light2: DirectionalLight = new DirectionalLight(0, 1, 0);
  private var _light3: DirectionalLight = new DirectionalLight(0, 0, 1);
  private var _light4: DirectionalLight = new DirectionalLight(-1, 0, 0);
  private var _light5: DirectionalLight = new DirectionalLight(0, -1, 0);
  private var _light6: DirectionalLight = new DirectionalLight(0, 0, -1);

Should be symmetrical and it was few weeks ago ...

Thanks,
Alex

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X