pixsper / jit.ndi

Implementation of NewTek NDI protocol for Cycling 74's Max
GNU Lesser General Public License v3.0
69 stars 2 forks source link

16-bit texture support #9

Open geslotencirkel opened 4 years ago

geslotencirkel commented 4 years ago

Hi, haven't been able to get 16-bit color textures to be sent from max and wondering if this is possible at the moment.

pixsperdavid commented 4 years ago

It's not currently implemented. NDI only supports YCbCr 4:2:2 at 16-bit (optionally with a 16-bit alpha channel). I've never personally used 16-bit video matrices in Jitter, could you give me an example of the matrix format you would use for this?

geslotencirkel commented 4 years ago

Initially it seemed like the issue of normal map generation from 8bit heightmaps was the issue - as the recommendation is to use linear, uncompressed R16+ images for height maps in Unity. I got it working with Spout finally and the issue traveled somewhere else - perhaps tesselation or shadegraph issues within Unity itself. Generally this type of map is required however, so I was canvasing for more info on the topic while the Spout object from Maxmsp was not sending the right format.