Hacker News new | ask | show | jobs
by gary_0 241 days ago
Oh man, I forgot about doing vector math using OpenGL textures as "hardware acceleration". And it would be many more years before it was reasonable to require a GPU with programmable shaders; having to support fixed-function was a fact of life for most of the 2000's.
1 comments

There were actually some completely insane workarounds even before shaders. I don't think it was actually shipped in real software, but I saw something that used 11 or 18 passes or something to do dot3 texture blending even on unextended OpenGL 1.0. Painstakingly doing one color channel at a time, values above 0 and below 0 on source and destination also separately…

Granted, if you didn't have the “squared blend” extension, it would be an approximation, but still a pretty convincing one.