150151152153154155156157158159160
Shader shader = getDefaultShader(); Texture texture = gameObject.geometry.texture; Mesh mesh = gameObject.geometry.mesh; Transformation transformation = gameObject.getWorld(); transformation.load(modelMatrix); texture.enable(); { shader.enable(); {