I have figured out how to set the render part using VuoInputDataColorDepth from the node, but the shader itself is still 8-bit RGBA. Would I have to change the GlContext or something like that?

Comments

The shader itself doesn't

jstrecker's picture
Submitted by

The shader itself doesn't have a bit depth; the bit depth is in the image (framebuffer) it's being rendered into. So if you do VuoImageRenderer_render(…, VuoImageColorDepth_16), your shader should be rendered in 16bpc. (Though it can't increase the bit depth of any images you feed into it.)