How to use the outputs of GL Mesh Shader, C (color buffer) and D (depth buffer)?
I haven’t found any Grasshopper componets use C and D as inputs.
What are C and D use cases?
Actually, my purpose is to get an image drawn by a shader. I use DisplayPipeline.DrawToBitmap API to capture the viewport. It works in Grasshopper.
However, when I send the gh file to compute.rhino3d by calling Grasshopper.EvaluateDefinition, DrawToBitmap always returns 0.
I thought I could modify the souce code of ghgl and draw an image like SetupTooltip as an output of GL Mesh Shader. Is there any eaiser method?