NeXT 和 3DFX 都曾试图在色彩空间上“做正确的事”,结果却普遍让它们看起来比竞品更差。我直到多年后才真正弄明白其中的原因。
人们很自然会认为值为 1.0 的像素发出的光子数是值为 0.5 的像素的两倍,因此可以用直观的线性数学来计算像素部分覆盖、前景与背景的混合,或者在纹理颜色之间做插值。
如果显示器是“线性”的,这就是正确的。NeXT 和 3DFX 比同时代的其他显示器更接近线性。NeXT 背后有 Pixar 深厚的图形理解,3DFX 则承袭了 SGI 的血统。他们是有意为之。
如果你像专业渲染系统那样拥有每通道 10 位以上,线性显示器才是正确之选。
不幸的是,NeXTStation Color 是每通道 4 位,3DFX 是每通道 5 或 6 位,在这个位深下……这就不是正确的做法了。
人眼不是线性强度传感器。我们感知的主要是强度的相对变化,所以我们能察觉 0.01 到 0.02 之间是巨大的翻倍,而 0.99 到 1.00 几乎无法察觉。
这种强度分布通常被称为显示系统的“伽马”,但像 sRGB 这样的实际曲线要更复杂一些。
如果你只有少量离散的像素值,你绝对不想把它们从 0 到 1 均匀分布!如果那样做,亮部会有不错的精度,但暗色中会出现非常明显的“强度条带”。
如果所有内容都是专门为 3DFX 制作的,你仍然会遇到暗部条带这个根本问题,但混合和滤波会更准确。问题在于,美术人员都是在传统非线性显示器上的绘图程序里制作纹理的,所以当 3DFX 卡片渲染它们时,就呈现出那种特有的“颜色发白”效果。
你可以在数学上对纹理进行校正来弥补显示伽马差异,但在 glQuake 时代我并没有真正理解这个问题,而且我们当时完全被 3DFX 的绝对性能迷住了,色彩保真度没有得到应有的关注。
即使今天,仍有大量游戏没有在纹理和渲染目标之间正确处理伽马。高分辨率和 24 位色彩掩盖了大部分问题,但你仍能在一些高对比度纹理和边缘上看到轻微的闪烁。
查看原帖
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.
引用 · Fabien Sanglard @fabynou
有人知道为什么 3DfX 1 显卡的颜色输出这么发白吗?我在 circa '97 左右的研究中发现很多人抱怨颜色问题。是 gamma 的问题?还是 16-bit 色彩?到底是什么原因呢? https://t.co/twF2a66H0u
查看引用原帖
Does anybody know why 3DfX 1 cards had such a washed out color output? In my research, circa '97 I found many people complaining about the colors. Is it gamma? 16-bit color? What can it be? https://t.co/twF2a66H0u