为什么 3dfx 1 显卡的颜色输出如此褪色?
Why 3dfx 1 cards had such a washed out color output?

原始链接: https://twitter.com/id_aa_carmack/status/2122478083319992513

NeXT 和 3DFX 故意使用接近线性的色彩空间,这非常适合高比特深度的专业渲染,但在其较低比特深度(4–6 位)下会带来问题。人眼视觉是非线性的,因此均匀间隔的数值会将精度浪费在亮部,并造成暗部色带。在传统非线性显示器上创建的纹理,在这些显卡上看起来会发白。虽然伽马校正可以解决这个问题,但这一问题经常被忽视,尤其是在早期的 3D 游戏中。现代高分辨率和 24 位色深隐藏了大部分伪影,但伽马不匹配仍会在某些高对比度纹理和边缘产生细微的闪烁。

黑客新闻 最新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 为什么 3dfx 1 显卡的颜色输出如此发白? (twitter.com/id_aa_carmack) 16 点,由 mfiguiere 3 小时前发布 隐藏 | 过去 | 收藏 | 讨论 帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请加入 YC | 联系 搜索:
相关文章

原文

Both NeXT and 3DFX tried to “do the right thing” with color spaces, and it wound up generally making them look worse than competing options. I didn’t really understand it properly until years later. It is natural to think that a pixel with a value of 1.0 is emitting twice the photons as a pixel with a value of 0.5, so you can do the obvious linear math to calculate partial pixel coverage, blending a foreground over a background, or interpolating between colors in a texture. If displays are “linear”, that is correct. NeXT and 3DFX were much closer to linear than other contemporary displays. NeXT had crossover from the deep graphics understanding at Pixar, and 3DFX had the SGI heritage. They did this intentionally. If you have 10+ bits per channel like the professional rendering systems, linear displays are The Right Thing. Unfortunately, NeXTStation Colors were 4 bits per channel and 3DFX was 5 or 6 bits per channel, and there… it was not the right thing. Human eyes aren’t linear intensity sensors. We mostly register relative changes in intensity, so we can tell the difference between 0.01 and 0.02 as a huge doubling, while 0.99 to 1.00 is almost imperceptible. This distribution of intensities is often referred to as the “gamma” of the display system, but the actual curves like sRGB are a bit more complicated. If you only have a small number of discrete pixel values, you definitely don’t want to spread them evenly from 0 to 1! If you do, you will have good precision in the brights, but very stark “intensity bands” in the dark colors. If everything was authored specifically for 3DFX, you would still have the fundamental problem with the dark bands, but more accurate blending and filtering. The problem was that artists made all of their textures in paint programs on conventional non-linear displays, so when they were drawn by 3DFX cards, they got the characteristic “washed out color” look. You can mathematically correct textures for differences in display gamma, but I didn’t really understand the issue back in the glQuake days, and we were so enthralled by the absolute performance of 3DFX that the color fidelity didn’t get as much attention as it should have. Even today, tons of games don’t properly handle gamma across their textures and render targets. High resolutions and 24 bit color masks most of it, but you still see it in some slight shimmerings in high contrast textures and edges.

联系我们 contact @ memedata.com