MDL Export: exporting other than material
Currently, when exporting MDLs, the export is obviously a
material data export as it is the most common use of it. The material must be set as 'root' for the export to go through successfully.
But as you know, MDLs are also capable of being used in other contexts such as environment lighting, and also in other contexts that accept their output type.
For example, let's say I'm creating an MDL graph that takes the sunandsky, wrap a few parameters and plug it into the sun_direction. However, to use this in the environment light context, the output must be of type 'color', not 'material'.
However, in SD, it's not possible to export a non-material root. It would be nice to have the capability of being able to export the result of valid nodes.
(It is possible to do this right now by hand-coding the MDL. But as SD is only a few apps who can utilise MDLs this way, I thought that it would be in the best position to implement these sort of flexible MDL-editing features)
Thanks for reading.