Enable floating point textures
positlabs opened this issue · comments
I realize that this isn't widely supported, but it would be nice to have access to floating point textures if they are available.
We could add a flag to the Seriously options. It would check for support, then use the OES_texture_float extension if it's available.
@brianchirls What do you think? Feasible?
https://developer.mozilla.org/en-US/docs/Web/API/OES_texture_float
I started playing with this a long time ago but I gave up. Feel free to give it a shot. Start here:
https://github.com/brianchirls/Seriously.js/blob/develop/seriously.js#L782
Rad! I will play around with it. I only need it to work on Chrome desktop, so I'm hopeful.
I know it's basically unsupported on mobile, but I'm curious... what issues did you run into?
I enabled it but didn't see any difference in quality in my app. Oh well
D'oh!
I'm sure there are all kinds of subtleties here. I suspect floating point textures are probably only useful if you're going to do some other kind of processing with them. Like something with depth maybe?