I notice in QC 3.0 release notes there is support for floating point
textures. When are these used, and how does one enable floating
point output from source patches?
If you use a QCRenderer to a floating-point context, then QC should
use floating point textures internally
Otherwise, the only way to "force" a texture to be floating point is
to use a Render in Image and set its internal format to 32bits /
pixel. But this is pointless and is just gonna use a lot more VRAM
unless you know exactly what you are doing.
Are images vs video treated differently?
No, they're all "images"
I have a glsl shader that seems to work with a image input patch,
but not a movie player / video input patch? Ive tried some
workarounds like using render to image in hopes it changes the
destination texture type, and putting in a cikernel, with no luck.
This sounds like a bug: please report to bugreport.apple.com
So in short, is there a way to force float textures for video ?
Why would you wanna do that? Video input has 8 bits resolution anyway,
so you wouldn't gain anything.
________________________________
Pierre-Olivier Latour - email@hidden
Technologist - Apple, Inc.