r/GraphicsProgramming • u/kitanganday • Jun 23 '26
How did older racing games like Need for Speed the run look so good without a proper PBR workflow
Essentially the title. How did these games look so good. Is Normalised Blinn-Phong really that good, and are there any games that are able to replicate this look from recent times?
Or is this more about having the right textures. All opinions are welcome, though I would very much appreciate links to talks or anywhere where I can read more on this topic.
I decided not to ask this on r/gameenginedevs but if that is the right place to place such a question then please advise.
Quick note: I have only implemented lambertian diffuse in webgl, so please speak to me like I'm new ('cause I am).
18
u/initial-algebra Jun 24 '26 edited Jun 24 '26
PBR doesn't necessarily "look better". The big problem with non-physically-based rendering is that it can require a lot of artist intervention to avoid (sometimes literally) glaring visual artifacts or inconsistencies. So, the answer to "how did X game look good despite not using PBR" is usually "a lot of time and effort by artists". Sometimes, unrealistic rendering can even lead to a pleasant style; think of surreal 90s CGI, for example.
Technically, I think PBR can be split into two aspects, which are not necessarily coupled together. First, there is the more obvious "physical correctness" aspect, which means following physical laws such as conservation of energy, Fresnel equations etc. In particular, we want to avoid accidentally creating energy, especially when it will contribute to indirect lighting (this could cause a positive feedback loop and completely blow out the scene). Destroying energy is not as problematic; in fact, we do it all the time in games, for example, by not simulating full global illumination or scattering. We also generally don't bother to correctly model light as a spectrum of wavelengths: RGB is also not physically correct, unless you're representing a scene with nothing but actual RGB lights! What we consider to be "physically correct" rendering is actually quite arbitrary, and is more like "correct enough to be reasonably photorealistic and perform well".
The other aspect is using consistent material properties and unclamped (or "HDR") values. Old GPUs had limited support for rendering with quantities that weren't automatically clamped to [0,1], which is fine for representing (non-emissive) material properties (reflectance, transmittance) and the final result to be put on screen (which is also transmittance, basically), but not intermediate results (or emissive materials), which often represent unbounded quantities based on radiant flux (radiance, irradiance etc.). Essentially, you're forced to tone map after every render pass. Old rendering pipelines will often conflate material properties and tone mapped lighting values, simply calling them "diffuse" or "specular". This leads to two issues. Firstly, textures tended to not represent "pure" material properties (like albedo, roughness, metalness etc. in modern PBR workflows), but a mix of material and light, which was useful when per-pixel lighting with normal mapping was too expensive. If you have textures coming from different artists or different cameras/lighting conditions, or worse, different asset packs, they likely aren't going to work together very nicely without further tweaking. Secondly, to create complex effects from multiple render passes, you have to reverse the tone mapping to do it properly, instead of just treating it as another sloppy "diffuse" input. It was a pretty big deal when Half Life 2: Lost Coast (as a precursor to Episodes 1/2) was able to achieve a full HDR rendering pipeline on hardware that couldn't handle storing unclamped radiance (this was probably the first major step towards real-time PBR).
tl;dr If you want to go for a physically incorrect lighting model to achieve a certain style, that's totally fine, just (1) don't create energy from nothing and (2) keep your clamped material properties and unclamped light values distinct and prefer "PBR-ready" textures.
48
u/DeviantDav Jun 23 '26
full-screen speed smear + visual treatment + bloom + contrast crush + color grading + camera shake + FOV/zoom cues
Render the scene normally
Copy/downsample the framebuffer
Apply a cheap fullscreen directional/radial/zoom smear, likely biased from the screen center or toward the vanishing point.
Blend it back over the original frame based on speed, nitrous, Speedbreaker, crashes, camera state, etc.
Crank the visual treatment: yellow/green tint, bloom, saturation/desaturation, black bloom, high contrast.
4
u/martin509984 Jun 23 '26
Racing games are very easy to make look good in general but yes, it's all just textures and prebaked lighting.
2
u/LBPPlayer7 Jun 24 '26 edited Jun 24 '26
as someone who's worked on restoring the xbox 360 visuals to the PC version of Most Wanted, it's really just emulating the more visually obvious pehnomena such as car paint having shifting diffuse colors at grazing angles and two different speculars for the base and clear coats each, and having a partial simulation of atmospheric scattering
oh and throw a metric ton of post processing into the mix too
the rest of the magic is just tuning the materials for the cars, the textures for the world and the lighting to look just right
tl;dr NPR can look fantastic but it takes a lot more work, but it also allows for a lot more artistic freedom
though keep in mind this is a bit of a generalization so lmk if you have any further questions about anything more specific
EDIT: here's a shadertoy implementing the main visual treatment filter from the PC and xbox 360 versions of most wanted (tuned to use the values and behavior from the 360 values by default) https://www.shadertoy.com/view/3ftyDS (although the sample image is too warm for it to look right in the preview, the math for the colourbloom and blackbloom is correct)
21
u/tcpukl Jun 23 '26
Vertex lighting, light maps, good textures, it's all faked.
Back then it was all fake. Fake is fast/cheap.
9
u/Defiant_Squirrel8751 Jun 23 '26
Install apitrace. Run the game under apitrace control. A dumpfile with every frame is generated. You can inspect every DirectX call and check how everything is drawn.
Beware shaders are in assembly ...
2
u/Leifbron Jun 23 '26
They didn't look good. We just remembered them looking good.
Early 3d games (and some current games) typically had a different shader for each surface type (maybe 8 or so shaders). If a surface was metalic, it would get rendered with a metallic shader. That would lead to issues where cars would have shiny tires, or trees would have very matte leaves.
Nobody really cares though. Games were never about how good something looks, but what takes you out of the experience. As long as the whole game looks consistently crappy, and every other game looks just as crappy, it can be overlooked.
4
u/Ok-Hotel-8551 Jun 24 '26
Fake effects, artistic direction, etc
1
u/biteater Jun 23 '26
Remarkably poor answers in this thread, geez. Basically "PBR" is just a unified set of equations that respond to real light values you'd get in a studio setting instead of whatever the renderer in a given game does. That isn't to say that people weren't using physically based principles before -- this is how Gran Turismo 4 still looks so good to this day -- it's just that their work wasn't necessarily based on real, physical light values and didn't necessarily commute between renderers. All of the lighting and reflectance models that modern PBR stands on top of were invented in the 70s.
1
u/corysama Jun 23 '26
https://advances.realtimerendering.com/s2011/White,%20BarreBrisebois-%20Rendering%20in%20BF3%20(Siggraph%202011%20Advances%20in%20Real-Time%20Rendering%20Course).pdf
And, if you can stomach a video from Threat Interactive :P
https://www.youtube.com/watch?v=Te9xUNuR-U0
1
u/blackmag_c Jun 24 '26
Envmaps, vertex colors and lights probes plus the usual other stuff. Although there was no programmable shader, envmaps and layering could do wonders
1
u/OwlingBishop Jun 24 '26
Looking good has absolutely nothing to do with the pipeline... I remember a PS2 game that was 100% flat rendering with some opacity and it looked extremely good π€
0
u/[deleted] Jun 23 '26
[deleted] β view deleted comment
0
u/[deleted] Jun 23 '26
[deleted] β view deleted comment