]> git.sesse.net Git - movit/blobdiff - demo.cpp
Add an implementation of RPDF dither on the final output.
[movit] / demo.cpp
index 5bcfa4335a2670f1784878246bdc7f8460dd81c2..e72007b02502da66a5b44b9e416fcdaeaf95475e 100644 (file)
--- a/demo.cpp
+++ b/demo.cpp
@@ -178,6 +178,7 @@ int main(int argc, char **argv)
        //sandbox_effect->set_float("parm", 42.0f);
        //chain.add_effect(new MirrorEffect());
        chain.add_output(inout_format);
+       chain.set_dither_bits(8);
        chain.finalize();
 
        // generate a PBO to hold the data we read back with glReadPixels()