Examples of RayHandler


Examples of box2dLight.RayHandler

    /** BOX2D LIGHT STUFF BEGIN */
    RayHandler.setGammaCorrection(true);
    RayHandler.useDiffuseLight(true);
   
    rayHandler = new RayHandler(world);
    rayHandler.setAmbientLight(0f, 0f, 0f, 0.5f);
    rayHandler.setBlurNum(3);

    initPointLights();
    /** BOX2D LIGHT STUFF END */
 
View Full Code Here

Examples of box2dLight.RayHandler

  @Override
  public void create() {
    camera = new OrthographicCamera(48, 32);
    camera.update();
    world = new World(new Vector2(0, -10), true);
    rayHandler = new RayHandler(world);
    new PointLight(rayHandler, 32);

  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.