← Tue, Nov 17 digest

Why 3dfx 1 cards had such a washed out color output?

read article ↗ hn thread ↗

John Carmack explains that 3dfx cards looked washed out because their low-bit-depth linear color math clashed with non-linear textures authored by artists.

read it John Carmack provides a clear, highly technical postmortem on why early 3dfx hardware struggled with color spaces and gamma.

summary

John Carmack details how 3dfx and NeXT hardware attempted to implement linear color calculations, which are theoretically correct for light blending. However, because their framebuffers had very low bit depths of 5 to 6 bits per channel and artists created textures on non-linear displays, this approach caused severe intensity banding in dark areas. Carmack notes that during the glQuake era, developers were so focused on raw performance that these color fidelity and gamma issues went largely unaddressed. Commenters expand on this by pointing out additional hardware factors like RAMDAC filtering and analog voltage levels.

key points

  1. Linear color calculations require 10+ bits per channel to prevent stark banding in dark areas, but 3dfx only provided 5 or 6 bits.
  2. Because artists authored textures on conventional non-linear displays, 3dfx's linear rendering pipeline produced a characteristic washed-out look.
  3. Early 3D developers like id Software prioritized absolute hardware performance over color fidelity during the glQuake era.

who should read it

Game developers, graphics engineers, and retro computing enthusiasts.

discussion warm

consensus

Commenters appreciate Carmack weighing in with valuable historical context, while noting that other hardware idiosyncrasies like RAMDAC filtering and analog voltage levels also contributed to the visual output.

pushback

Some commenters debate the exact specifics of CRT voltage linearity versus sRGB transfer functions and whether 3dfx's default gamma settings were intended to fix color math or simply boost brightness.

best comment by rasz ↗

In numbers:

VGA default gamma y = 1 aka linear

3DFX default gamma y = 1.5

You might, like I did, think wtf is he talking about, default is linear and 3dfx bends it. But CRT monitors y = 2.2! When added up (multiply exponents) 3dfx is closer to linear output than ordinary VGA. You would still have to set 3dfx to 2.2 to get perfect linear output.

TLDR: Carmack is partially right. As he says even game developers were clueless. Nobody had to change their workflows. You could call glide grGammaCorrectionValue or even easier set DOS environment variable SST_GAMMA to 1 to get Exact same color …

It provides concrete numbers on default 3dfx gamma settings and notes how environment variables like SST_GAMMA could override the behavior.

Generated by an LLM from the article and thread. Check the sources before relying on it.