Question

I want to make a Luma-Mask (Matte) in SVG. In other words I want to mask a layer to the luminance channel (acquired from the RGB channels) of a different layer.

How can this be done?

Thanks

Was it helpful?

Solution

Luminance masks are a new feature of the as yet unfinished SVG 2 specification. They have been implemented in nightly Firefox and Webkit. If you are using a Nightly or Aurora Firefox make sure layout.css.masking.enabled is set to true in about:config

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top