From 744b6bf5d6cc85db0b8fd5802a9192a683d686e0 Mon Sep 17 00:00:00 2001 From: n64 Date: Sat, 4 Jul 2020 22:18:17 +0200 Subject: [PATCH] Don't render low-polygon variants on pc-port --- src/game/rendering_graph_node.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/game/rendering_graph_node.c b/src/game/rendering_graph_node.c index bc99adc7..738f0245 100644 --- a/src/game/rendering_graph_node.c +++ b/src/game/rendering_graph_node.c @@ -277,6 +277,11 @@ static void geo_process_level_of_detail(struct GraphNodeLevelOfDetail *node) { s16 distanceFromCam = -GET_HIGH_S16_OF_32(mtx->m[1][3]); // z-component of the translation column #endif +#ifndef TARGET_N64 + // We assume modern hardware is powerful enough to draw the most detailed variant + distanceFromCam = 0; +#endif + if (node->minDistance <= distanceFromCam && distanceFromCam < node->maxDistance) { if (node->node.children != 0) { geo_process_node_and_siblings(node->node.children);