CSS Filters — Sydney 2016
Last updated 1 Februrary 2016
Status of CSS Filters
- What are the plans for getting to CR?
- Who is working on it?
- Who has implemented it?
- CSS Filters Level 2?
Artifacts with Lighting Filter primitives
Using the lighting filter primitives often results in unwanted artifacts.
Lighting filters use the alpha channel of an image for a bump map. When the input is 8 bits per channel, steps are generated in the calculation of the surface normal. Use of a 16 bit per channel bump map would greatly reduce this banding.
This problem also exists when using an external 'bump map'. In this case, the use of 16 bit per channel PNG's would be helpful.
Currently, the specification does not dictate the range of values. Issue 22950 is that the color values in the specification should either all be in the range 0..255 or 0..1. Require floating point values between 0 and 1 would solve this problem. The discussion in the feConvolveMatrix and feTurbulence filter primitives use the range 0..255 and would need to be changed.