Package org.terasology.rendering.opengl

Examples of org.terasology.rendering.opengl.OpenGLMesh.doRender()


                    material.setFloat3("colorOffset", meshComp.color.rf(), meshComp.color.gf(), meshComp.color.bf(), true);
                    material.setFloat("sunlight", worldRenderer.getSunlightValueAt(worldPos), true);
                    material.setFloat("blockLight", worldRenderer.getBlockLightValueAt(worldPos), true);

                    lastMesh.doRender();
                }
            }
            if (lastMesh != null) {
                lastMesh.postRender();
            }
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.