public override void Render() { PreRender(); var showGrid = (bool)Modifiers["showGrid"]; var showTerrain = (bool)Modifiers["showTerrain"]; skyBox.render(); if (showTerrain) { terreno.render(); } grilla.render(Frustum, showGrid); PostRender(); }
public override void Render() { PreRender(); var showGrid = showGridModifier.Value; var showTerrain = showTerrainModifier.Value; skyBox.Render(); if (showTerrain) { terreno.Render(); } grilla.render(Frustum, showGrid); PostRender(); }