WebGPU Engine from Scratch Part 8: Physically Based Lighting (PBR)
I wasn’t expecting to do this so soon but the whole roughness texture stuff really got to me so I decided to see what it would take to improve the lighting to PBR (Physically based rendering). Luckily, not very hard. While we do need to look at equations it’s mostly a matter of plugging them…
