I have labelled all the variables clearly and have made a lot of them to increase readability. The shapes shown are a vertical torus and sphere. I will add: - reflections - shadows - combinations (such as subtraction and intersection) - other lighting models, such as GGX for realism update log: v1.1 - added simple rotation blocks that are used in the demo to make it more "real" v1.2 - added FOV and AOV customization to scale objects better v1.3 - much quicker, objects in distance are darker v1.4 - patterns v1.4.1 - fixed lighting by normalising the vector to the light source
turbowarp: https://turbowarp.org/805302432/fullscreen?fps=60&turbo @piano_miles for the filmic colour block