Enhance Z-fighting issues for shadows
This commit is contained in:
parent
518c7a2a0b
commit
1699a613ff
1 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,11 @@
|
||||||
#include "shadow.h"
|
#include "shadow.h"
|
||||||
#include "sm64.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
|
* @file shadow.c
|
||||||
* This file implements a self-contained subsystem used to draw shadows.
|
* This file implements a self-contained subsystem used to draw shadows.
|
||||||
|
|
Loading…
Add table
Reference in a new issue