Away3D lighting effects

Software: Away3D 4.x

AlexGo, Newbie
Posted: 09 April 2013 07:27 PM   Total Posts: 2

Hi guys,

I’ve seen some cool lighting effects in the particle tutorials sections but i can’t seem to be able to make one of my own.

What i’m trying to do is use a background image on my Mobile app and use some lights that would move on the background.

I can’t figure out how to do this; i saw that LightPoint is only used in combination with different other objects, such as materials.

here’s how i added the background image:

[Embed(source=”/assets/bg.jpg”)]
  public var BackImg:Class;


var bmd:BitmapData = new BackImg().bitmapData;
  _view.background = new BitmapTexture(bmd);
 
  addChild(_view);

Is there any way i could make some live light effects on the backgorund?

Thanks a lot!

 

   

Avatar
GoroMatsumoto, Sr. Member
Posted: 10 April 2013 01:05 AM   Total Posts: 166   [ # 1 ]

View3D’s background can’t be lighted.
You have to make a Sprite3D that has LightPicker in Scene3D in View3D.
And set a Camera3D position to front of the Sprite3D.

I think that you need learning more about basis of Away3D.
http://away3d.com/tutorials/Setting_Up_Your_Scene
http://away3d.com/tutorials/Introduction_to_Materials

Cheers.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X