Implement destination and lighter composite operators in the CSS Shaders mix function. For example: -webkit-filter: custom(none mix(shader.fs normal lighter)); This will composite the special css_MixColor symbol in the fragment shader with the DOM element texture. Destination and lighter are tricky enough to be their own bugs.