Examples of CombinedTexture


Examples of com.jme3.scene.plugins.blender.textures.CombinedTexture

        TextureCubeMap texture = null;
        if (loadedTextures != null && loadedTextures.size() > 0) {
            if (loadedTextures.size() > 1) {
                throw new IllegalStateException("There should be only one combined texture for sky!");
            }
            CombinedTexture combinedTexture = loadedTextures.get(0);
            texture = combinedTexture.generateSkyTexture(horizontalColor, zenithColor, blenderContext);
        } else {
            LOGGER.fine("Preparing colors for colorband.");
            int colorbandType = ColorBand.IPO_CARDINAL;
            List<ColorRGBA> colorbandColors = new ArrayList<ColorRGBA>(3);
            colorbandColors.add(horizontalColor);
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.