space to show settings https://turbowarp.org/1332083259?size=480x270&fps=60&hqpen&stuck Turbowarp is highly recommended, as the project recommended aspect ratio is 16:9 and it simply doesn't run on scratch. This project is a physically based 2D path tracer that simulates light using individual wavelengths inside the visible spectrum instead of traditional RGB rendering. Soon to be ported to 3D >:D I tried making it as understandable and readable as possible but feel free to ask if you need further explainations. Features: - Fully wavelength based rendering ( 380 - 780 nm ) - Spectral primary reflectance function - Wavelength-dependent refraction - IOR and Abbe based dispersion - Multiple tonemappers: Simple sRGB ACES Reinhard Uncharted Filmic AGX ( 3 modes ) Uchimura - Post processing: Exposure Contrast Saturation
- Fully written in scratch by me - wavelength to xyz functions from https://jcgt.org/published/0002/02/01/paper.pdf - math functions from glsl - material reflectance function from https://graphics.geometrian.com/research/spectral-primaries.html - the refraction functions are a hybrid of https://en.wikipedia.org/wiki/Cauchy%27s_equation and https://en.wikipedia.org/wiki/Abbe_number - ray-circle intersection function from https://iquilezles.org - LuTs from https://cie.co.at