X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=ycbcr_conversion_effect.frag;h=4ef38016a7240e88023e32b7b5e0a8764b372526;hp=ea5de45f14d99a984e22ec564c2f6a855cf86d1c;hb=2fd06b9c44225d1e740cb2de08a9dfa5c9cd0031;hpb=6bec5fc3abc5f57c6cddec2148626cca9a94bedf diff --git a/ycbcr_conversion_effect.frag b/ycbcr_conversion_effect.frag index ea5de45..4ef3801 100644 --- a/ycbcr_conversion_effect.frag +++ b/ycbcr_conversion_effect.frag @@ -1,3 +1,8 @@ +// See footer.frag for details about this if statement. +#ifndef YCBCR_ALSO_OUTPUT_RGBA +#define YCBCR_ALSO_OUTPUT_RGBA 0 +#endif + uniform sampler2D PREFIX(tex_y); uniform sampler2D PREFIX(tex_cb); uniform sampler2D PREFIX(tex_cr);