filter-effects icon indicating copy to clipboard operation
filter-effects copied to clipboard

Using nested filter primitives

Open MentalGear opened this issue 4 years ago • 3 comments

I'm wondering how filter primitives that have a second level should be handeled in the js object notion. What would be the correct way to use nested filter primitives like feDistantLight with filter-effects, or are they not supported ?

    <feDiffuseLighting
      surfaceScale="0.8"
      diffuseConstant="1.5"
      lighting-color="#ffffff"
      in="turbulence"
      result="diffuseLighting"
    >
      <feDistantLight azimuth="100" elevation="17" />
    </feDiffuseLighting>

MentalGear avatar Oct 14 '20 20:10 MentalGear