[Optix 7] Sun and sky model integration

Hi,

What’s the recommended way to integrate the MDL sun and sky model into an Optix path tracer?

Here is the MDL function source: MDL-SDK/base.mdl at 7565abebff3f591b8c4b7aec586a9020b5f915c1 · NVIDIA/MDL-SDK · GitHub

It returns an “texture_return” type.

Thanks!