Experiments in mixed rendering in Flitter
The lava blobs are SDF surfaces rendered with a custom shader and the green sphere is a triangle mesh rendered with the normal lighting shader. The same lighting is passed into both renderers and they output into the same colour and depth buffers
Code here if anyone is interested:
https://github.com/jonathanhogg/flitter-examples/blob/main/genuary2024/day29.fl