Pergunta

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

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top