frozn2hu / glidehqplusglitch64

Automatically exported from code.google.com/p/glidehqplusglitch64
0 stars 0 forks source link

Legend of Zelda: Ocarina of Time: the rotating "N" is miscolored #227

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Load Ocarina of Time with any version of Glide64.

What is the expected output? What do you see instead?

The lit areas of the rotating "N" logo are much darker than they are on the 
real hardware.
Here's the video taken from an actual N64:
http://www.youtube.com/watch?v=67Z5VKTwAls
I'm also attaching a screenshot taken with a recent version of my plugin 
(correct) and a shot of Ziggy's debugger (where the "N" is also miscolored).
First, the color combiner is actually fed with 9-bit values, which it 
sign-extends. After the computation 9 LSBs of the result are clamped to a 8-bit 
value, which goes to the blender. Zelda uses a "combined color" input in the 
2nd combiner cycle. Zelda relies on the fact that the combined color SHOULD NOT 
be clamped to 8 bits after the 1st cycle. Instead, it should go to the 2 cycle 
as a 9-bit value.

Original issue reported on code.google.com by spovali...@gmail.com on 18 Mar 2011 at 12:46

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the interesting information.

Unfortunately, I can't use 9-bit color components with Glide3x API. Thus, I 
don't see how that issue can be fixed.

Original comment by gon...@ngs.ru on 18 Mar 2011 at 4:49