Package engine

Examples of engine.Light


    */
  }
  @Override
  public void init() {
    //this.starfield = new StarField();
    this.light = new Light(0);
    light.move(0f, 3f, 0f);
    loadModel("chamfer_box.obj").setDefaultMaterial(loadMaterial("box_normal.mat"));
    loadModel("plane.obj").setDefaultMaterial(loadMaterial("plane.mat"));
 
    Material cubebox = loadMaterial("box_cubemap.mat");
View Full Code Here


    loadModel("tile_wall2_corner_1.obj").setDefaultMaterial(loadMaterial("tile_wall2.mat"));
    loadModel("tile_wall2_corner_2.obj").setDefaultMaterial(loadMaterial("tile_wall2.mat"));
    loadModel("tile_wall2_pylon.obj").setDefaultMaterial(loadMaterial("tile_wall2.mat"));
   
    this.clock = new Clock(500);
    this.light = new Light(0);
   
    skybox = new Entity();
    skybox.setScale(30f);
    skybox.setModel(loadModel("skybox.obj"));
   
View Full Code Here

TOP

Related Classes of engine.Light

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.