mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 13:35:12 +00:00
Enhance Z-fighting issues for shadows
This commit is contained in:
parent
744b6bf5d6
commit
c33936e862
1 changed files with 5 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue