mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-04-28 13:07:59 +03:00
Disable PVR backface culling due to missing geometry artifacts
This commit is contained in:
parent
64fee23d26
commit
c733d6c71c
1 changed files with 2 additions and 0 deletions
2
vendor/librw/src/dc/rwdc.cpp
vendored
2
vendor/librw/src/dc/rwdc.cpp
vendored
|
@ -1188,6 +1188,8 @@ static float fogStart = 0.0f;
|
||||||
static uint32 cullModePvr;
|
static uint32 cullModePvr;
|
||||||
|
|
||||||
static inline unsigned pvrCullMode(uint32_t cullMode) {
|
static inline unsigned pvrCullMode(uint32_t cullMode) {
|
||||||
|
// PH3NOM - Prevents missing geometry
|
||||||
|
return PVR_CULLING_NONE;
|
||||||
switch(cullMode) {
|
switch(cullMode) {
|
||||||
case CULLNONE: return PVR_CULLING_SMALL;
|
case CULLNONE: return PVR_CULLING_SMALL;
|
||||||
case CULLBACK: return PVR_CULLING_CW;
|
case CULLBACK: return PVR_CULLING_CW;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue