public MeshComponent(string filename) { Update(); mat = new Material("Textures/test.png", "Textures/testnormal.png", ""); vol = ObjVolume.get(filename, mat); MeshManager.AddMesh(this); }
public static void RenderToGBuffer() { MeshManager.Render(ShaderManager.ShaderType_BL.GBuffer); }