Enhance Z-fighting issues for shadows

This commit is contained in:
n64 2020-07-04 22:25:32 +02:00 committed by fgsfds
parent 744b6bf5d6
commit c33936e862

View file

@ -13,6 +13,11 @@
#include "shadow.h"
#include "sm64.h"
#ifndef TARGET_N64
// Avoid Z-fighting
#define find_floor_height_and_data 0.4 + find_floor_height_and_data
#endif
/**
* @file shadow.c
* This file implements a self-contained subsystem used to draw shadows.