mkst / sm64-port

My mirror of the sm64-port. You probably want to look at the 3DS port branch: https://github.com/mkst/sm64-port/tree/3ds-port
https://discord.gg/7bcNTPK
250 stars 33 forks source link

BUG - Shadow Z-fighting on water surfaces #48

Closed ryotoko closed 4 years ago

ryotoko commented 4 years ago

zfighting

Affects Gericom. Affects Switch port and N64 original, though they appear different than this due to how alpha blending happens. Seems like it should be simple enough to solve in the same way it's been solved for all other surfaces..

mkst commented 4 years ago

Can we do something in/around https://github.com/mkst/sm64-port/blob/3ds-port/src/game/shadow.c#L219 to tweak the shadow by +0.1f or something?

mkst commented 4 years ago

Closing via https://github.com/mkst/sm64-port/commit/fbaf3217c075d7147000e1f64d8df9b4e9f63b6d.

Not perfect, but it'll do.