Continues work on my PBR experiment in Roblox engine. It now computes lighting in linear space so SRGB is not screwing up computations and especially light decay. There is tiny little simple tone mapping now. There is some color banding because I am still using 8bit integer buffers, can be fixed :)