W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > January 2018

Re: [fxtf-drafts] [filter-effects] Clarify "smoothing technique" for feSpotLight's limitingConeAngle

From: Fredrik Söderqvist via GitHub <sysbot+gh@w3.org>
Date: Fri, 05 Jan 2018 23:36:24 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-355694350-1515195383-sysbot+gh@w3.org>
Not sure what you mean by "adapted" here. What the Gecko code referenced above does is the minimum to get a cone-limited spotlight, so all implementations that support `limitingConeAngle` ought to do that. (It's in the spec already.)
As mentioned in my [earlier comment](https://github.com/w3c/fxtf-drafts/issues/244#issuecomment-355425628), Skia also implements a "falloff", which is essentially another cone, and the light cast in between these two cones are scaled (attenuated) by a factor (derived from `-L.S` and the two cone angles.) That's the only adaption going on (in both the SW and HW implementations.)

-- 
GitHub Notification of comment by fsoder
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/244#issuecomment-355694350 using your GitHub account
Received on Friday, 5 January 2018 23:38:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:50:21 UTC