mirror of https://github.com/sm64pc/sm64pc.git
Don't render low-polygon variants on pc-port
This commit is contained in:
parent
469ad637ed
commit
744b6bf5d6
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue