GitHub - ppenenko/metashade: An experimental GPU shading DSL embedded in Python.
Metashade
What is Metashade?
Metashade is an experimental GPU shading domain-specific language (DSL) embedded in Python.
When a Metashade script executes, it generates code in a target shading language.
Only HLSL is supported so far but the intent is definitely to support multiple targets.
To see Metashade in action, check out the glTF demo.
Please see the presentation on Google Slides for a detailed discussion of the motivation for Metashade and its design.
Rationale
Programming at a more abstr...
Read more at github.com