Package com.badlogic.gdx.graphics.g3d.environment

Examples of com.badlogic.gdx.graphics.g3d.environment.PointLight


    this.directionalLights = new DirectionalLight[lighting && config.numDirectionalLights > 0 ? config.numDirectionalLights : 0];
    for (int i = 0; i < directionalLights.length; i++)
      directionalLights[i] = new DirectionalLight();
    this.pointLights = new PointLight[lighting && config.numPointLights > 0 ? config.numPointLights : 0];
    for (int i = 0; i < pointLights.length; i++)
      pointLights[i] = new PointLight();

    if (!ignoreUnimplemented && (implementedFlags & materialMask) != materialMask)
      throw new GdxRuntimeException("Some attributes not implemented yet ("+materialMask+")");
   
    // Global uniforms
View Full Code Here


    this.directionalLights = new DirectionalLight[lighting && config.numDirectionalLights > 0 ? config.numDirectionalLights : 0];
    for (int i = 0; i < directionalLights.length; i++)
      directionalLights[i] = new DirectionalLight();
    this.pointLights = new PointLight[lighting && config.numPointLights > 0 ? config.numPointLights : 0];
    for (int i = 0; i < pointLights.length; i++)
      pointLights[i] = new PointLight();

    if (!config.ignoreUnimplemented && (implementedFlags & materialMask) != materialMask)
      throw new GdxRuntimeException("Some attributes not implemented yet (" + materialMask + ")");

    // Global uniforms
View Full Code Here

TOP

Related Classes of com.badlogic.gdx.graphics.g3d.environment.PointLight

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.