just a simple wavelength to rgb experiment, made it for a spectral pathtracer I'm working on. I was surprised to see no one ever made something like that on scratch ( or maybe someone did but I didn't see it ), but anyways, everything is explained inside the code and feel free to use it ;D ( you don't have to give credits but you can if you want, that's up to you ¯\_(ツ)_/¯ ) also, it's written in a glsl type coding in terms of naming and structure, so feel free to ask if you don't understand some part