Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Test Drive Unlimited to depthRangeHack to disable range culling #12016

Merged
merged 1 commit into from
May 5, 2019

Conversation

LunaMoo
Copy link
Collaborator

@LunaMoo LunaMoo commented May 5, 2019

Including dump with problem this works around:
ULUS10249_0001.zip

I guess range culling causes missing road/ground, through not sure if depth range hack on it's own doesn't help as I recall seeing missing triangle or two when riding offroad even before range culling was added, it was just soo rare and hard to reproduce I thought it's game glitch, maybe range culling just made the problem more visible.

@hrydgard
Copy link
Owner

hrydgard commented May 5, 2019

Really had hoped we'd only need this for Phantasy Star...

@hrydgard hrydgard merged commit ecf3f40 into hrydgard:master May 5, 2019
@LunaMoo LunaMoo deleted the compatTDU branch May 5, 2019 08:52
@marosis
Copy link

marosis commented May 5, 2019

#11630 maybe can fix? I cannot test now

@unknownbrackets
Copy link
Collaborator

Well, I think GPU_USE_DEPTH_RANGE_HACK ultimately just works around incorrect clipping/clamping in non-accurate depth path for Phantasy Star. I guess we'll say this is related to #11576 so we don't lose it.

-[Unknown]

@unknownbrackets unknownbrackets added this to the v1.9.0 milestone May 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants