Package codechicken.lib.lighting

Examples of codechicken.lib.lighting.LightModel$Light


      e.setValue(e.getValue().twoFacedCopy().apply(new Translation(Vector3.center)).shrinkUVs(0.0005));
      e.getValue().computeLighting(LightModel.standardLightModel);
    }

    contents_models = CCModel.parseObjModels(MekanismUtils.getResource(ResourceType.MODEL, "transmitter_contents.obj"), 7, null);
    LightModel interiorLightModel = new LightModel()
        .setAmbient(new Vector3(0.6, 0.6, 0.6))
        .addLight(new Light(new Vector3(0.3, 1, -0.7))
            .setDiffuse(new Vector3(0.6, 0.6, 0.6)))
        .addLight(new Light(new Vector3(-0.3, 1, 0.7))
            .setDiffuse(new Vector3(0.6, 0.6, 0.6)));
View Full Code Here

TOP

Related Classes of codechicken.lib.lighting.LightModel$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.