285 points by mfiguiere 3 days ago | 113 comments | View on ycombinator
AkBKukU 3 days ago |
herodoturtle 3 days ago |
Dwedit 3 days ago |
But there is one place where sRGB is truly linear, and that is signal voltage for a CRT display. 50% of sRGB truly means 50% of signal voltage (between the minimum and maximum voltages).
tannhaeuser 3 days ago |
Edit: see comments re founders
hmstx 3 days ago |
If you remember, 3dfx screenshots were just as dithered as, say, an ATI Rage, but on screen it looked smoother (although a bit blurry) while the others looked visibly dithered still (see some 3dfx screenshots https://www.vogons.org/viewtopic.php?f=46&t=36548 )
Part of it is the gamma shenanigans mentioned, and also the blur filtering pass taking place in the DAC which "upgrades" the image (eventually claimed to be so-called 22 bit precision for Voodoo3), introducing some quite visible smudging and hints of unexpected colors as a result.
This has been approximated in shaders you can apply to most games with ReShade etc., take a look (https://www.vogons.org/viewtopic.php?t=36470)
dcrazy 3 days ago |
cmovq 3 days ago |
threeeeed 3 days ago |
stateoff 3 days ago |
DavCreator 3 days ago |
rasz 3 days ago |
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 mapping as ordinary VGA.
Why did 3dfx boost that? deffo not to get linear output, if they wanted linear they would set 2.2. Probably a Color twist on loudness war, brighter better, or maybe felt bad half the bits would get wasted (crushed into near blacks) in 16bit rendering.
vessenes 3 days ago |
nullc 3 days ago |
Cloudef 3 days ago |
bni 3 days ago |
The Riva came with the OEM PC I got. I remember HL2 looked very washed out on it and being quite unhappy with that. Funny that the 3dfx "solved" it for me.
doe88 3 days ago |
basilgohar 3 days ago |
anal_reactor 3 days ago |
Someone enlighten me what HDR actually does then.
gwbas1c 3 days ago |
That's probably why streaming video has so much banding in dark streams too.
hmstx 3 days ago |
There were issues in Quake/Quake 2 with bright areas not being quite right, so some measures were taken to try and achieve some form of overbright lighting [1]. Especially in Q1 where the light baking did not perform bounces/radiosity, there were a lot of black spots with adjacent highlights for dramatic effect, and you could see some banding there with the OpenGL renderers, which is more apparent with lower texture settings and pumped gamma.
But also, as a side effect of this overbright ability, lighting got flattened even more in GL [1]:
>The original quake (software) engine used overbright lighting, which means the lightmap brightness can go up to 200%. So, light.exe creates BSP files with lightmaps that go up to 200%.
>In glquake […] there is no overbright lighting, so every part of the lightmap that goes above 100% is flattened to equal 100%. This is why glquake looks just fine in darker rooms, but in bright areas the lighting looks very flat.
>[Some engines] restore the overbright feature of the software renderer, so that lighting hot-spots will actually be as bright as intended.
A similar effect was pursued further in Quake 3 with r_overbrightbits/r_mapoverbrightbits, which fakes a higher dynamic range through futzing with the hardware gamma ramp and bit-shifting/normalizing color channels [2], achieving highlights that pop a lot more... at the expense of introducing even more banding in dark spots.
He mentioned it in passing in a .plan in 2000 that touches on higher precision buffers [3]:
>Q3 hacks the gamma tables to sacrifice a bit of precision to get a 0.0 to 2.0 range, but I wanted more than that for even primitive rendering techniques.
Eventually, in his .plan dated january 29th, 2003 [4] he appears convinced,
>The future is in floating point framebuffers. One of the most noticeable thing this will get you without fundamental algorithm changes is the ability to use a correct display gamma ramp without destroying the dark color precision.
[1] https://www.quaddicted.com/engines/software_vs_glquake
[2] You can probably read the C/OpenGL code better :)
[3] https://github.com/ESWAT/john-carmack-plan-archive/blob/mast...
[4] https://github.com/ESWAT/john-carmack-plan-archive/blob/mast...
cyberax 3 days ago |
Does anyone know the reason for that?
contingencies 3 days ago |
Spalau 3 days ago |
I always thought the style was an artistic choice rather than a technical limitation.
Now I understand that a lot of old graphics "styles" were restricted by the existing hardware.
arthur_steel 3 days ago |
benchnotes 3 days ago |
indubioproIO 3 days ago |
Luke2642 3 days ago |
1. I have a Voodoo 2 paired with an S3 Virge/DX, the Voodoo 2 output level is lower. On a CRT I always have to make the image brighter when running a 3DFX game. Additionally, the V-Sync pulse is not the same as the Virge/DX and the Voodoo 2 image is shifted up.
2. I have a Voodoo Rush which is the maligned hybrid model of 2D and 3D chipsets on a single card. It still uses the internal switching though. On this card the voltage issues are the opposite, the 2D output is significantly dimmer than the 3D which makes the 3D game clip badly when running something until the image is adjusted again.
These problems are voltage level issues with the signal, not gamma. Adjusting gamma will not change the black or white voltage level of the signal. But a lower voltage signal may seem brighter as gamma is raised and the dynamic range is compressed.
> we were so enthralled by the absolute performance of 3DFX that the color fidelity didn’t get as much attention as it should have.
I would say it's more likely that they just didn't notice and the varying outputs from different 3DFX cards, with different GENDAC's, on differently calibrated CRTs just made it a total mess to try and and dial in something as imperceptible as a gamma level. Also keep in mind that around 1995-1996 adjusting the brightness of a CRT was as easy as twisting a few knobs on the front of it.