Package com.ardor3d.image

Examples of com.ardor3d.image.TextureCubeMap


        }

        // Default to Texture2D
        if (result == null) {
            if (img.getDataSize() == 6) {
                result = new TextureCubeMap();
            } else if (img.getDataSize() > 1) {
                result = new Texture3D();
            } else {
                result = new Texture2D();
            }
View Full Code Here


                        texRend = TextureRendererFactory.INSTANCE.createTextureRenderer(settings, false, getRenderer(),
                                ContextManager.getCurrentContext().getCapabilities());

                        texRend.getCamera().setFrustum(.1, 10, -.1, .1, .1, -.1);

                        texture = new TextureCubeMap();
                        texture.setEnvironmentalMapMode(EnvironmentalMapMode.ObjectLinear);
                        texture.setApply(ApplyMode.Combine);
                        texture.setCombineFuncRGB(CombinerFunctionRGB.Interpolate);
                        // color 1
                        texture.setCombineSrc0RGB(CombinerSource.CurrentTexture);
View Full Code Here

TOP

Related Classes of com.ardor3d.image.TextureCubeMap

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.