Kodi Community Forum
Details on dithering for OpenGL? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+---- Forum: VideoPlayer Development (https://forum.kodi.tv/forumdisplay.php?fid=240)
+---- Thread: Details on dithering for OpenGL? (/showthread.php?tid=267531)



Details on dithering for OpenGL? - ashlar - 2016-04-05

How does it work? What algorithm is it using? Chances of seeing on non OpenGL platforms?


RE: Details on dithering for OpenGL? - FernetMenta - 2016-04-08

It loads a dither matrix generated with https://git.fruit.je/src?a=blob;f=dither/dither.c;h=913d06c11f8d7cbd24121ecd772396b7c10f4826;hb=HEAD
into a texture unit. Finally a shaders uses this matrix to generate noise and cure banding effects when transforming from limited to full range color space.


RE: Details on dithering for OpenGL? - ashlar - 2016-04-08

Ok, thanks for your answer. From the little I understand I think there's nothing serious stopping a non OpenGL implementation (for Windows, basically). Thanks again.


RE: Details on dithering for OpenGL? - FernetMenta - 2016-04-08

I don't think so either. It's no rocket science.