Search found 1 match

by vjlove
Thu Apr 30, 2015 4:12 am
Forum: Support and Development
Topic: floating point ImageData?
Replies: 1
Views: 1593

floating point ImageData?

It seems that Canvas:getImageData() always converts the pixels to UNSIGNED_BYTE, probably since ImageData wants it that way. Is there anyway I can get access to the floating point pixel data in my 'rgba32f' Canvas, from Lua? I know I can get there in a shader, but that also won't let me 'export' the...