{"json_modified": "2016-09-27T12:24:10.804359", "uuid": "05601472-2477-45ca-aea8-91d4108aea7d", "title": "", "url": "/en-US/docs/Web/SVG/Element/feSpecularLighting", "tags": ["Element", "SVG Filter", "SVG", "NeedsMobileBrowserCompatibility", "NeedsBrowserCompatibility"], "translations": [{"uuid": "7c286ead-8a3a-4c78-b627-815220771283", "title": "feSpecularLighting", "url": "/zh-CN/docs/Web/SVG/Element/feSpecularLighting", "tags": ["SVG", "SVG\u6ee4\u955c", "\u5143\u7d20", "\u9700\u8981\u5185\u5bb9", "\u9700\u8981\u517c\u5bb9\u6027\u8868", "\u9700\u8981\u793a\u4f8b"], "summary": "\u8be5\u6ee4\u955c\u7167\u4eae\u4e00\u4e2a\u6e90\u56fe\u5f62\uff0c\u4f7f\u7528alpha\u901a\u9053\u4f5c\u4e3a\u9686\u8d77\u6620\u5c04\u3002\u8be5\u7ed3\u679c\u56fe\u50cf\u662f\u4e00\u4e2a\u57fa\u4e8e\u5149\u8272\u7684RGBA\u56fe\u8c61\u3002\u8be5\u5149\u7167\u8ba1\u7b97\u9075\u5b88\u6807\u51c6\u51af\u6c0f\u7167\u660e\u6a21\u5f0f\u7684\u955c\u9762\u7ec4\u4ef6\u3002\u7ed3\u679c\u56fe\u50cf\u4f9d\u8d56\u4e8e\u5149\u8272\u3001\u5149\u7684\u4f4d\u7f6e\u4ee5\u53ca\u8f93\u5165\u9686\u8d77\u6620\u5c04\u7684\u8868\u9762\u51e0\u4f55\u5f62\u72b6\u3002\u5149\u7167\u8ba1\u7b97\u7684\u7ed3\u679c\u662f\u53e0\u52a0\u7684\u3002\u8be5\u6ee4\u955c\u5047\u5b9a\u89c2\u5bdf\u8005\u5728X\u65b9\u5411\u65e0\u7a77\u8fdc\u5904\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-09-27T12:24:00", "review_tags": []}], "modified": "2016-09-27T05:34:10", "label": "", "localization_tags": [], "locale": "en-US", "id": 7660, "last_edit": "2016-09-27T05:33:57", "summary": "The <feSpecularLighting> SVG filter primitive lights a source graphic using the alpha channel as a bump map. The resulting image is an RGBA image based on the light color. The lighting calculation follows the standard specular component of the Phong lighting model. The resulting image depends on the light color, light position and surface geometry of the input bump map. The result of the lighting calculation is added. The filter primitive assumes that the viewer is at infinity in the z direction.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Usage_context", "title": "Usage context"}, {"id": "Attributes", "title": "Attributes"}, {"id": "Global_attributes", "title": "Global attributes"}, {"id": "Specific_attributes", "title": "Specific attributes"}, {"id": "DOM_Interface", "title": "DOM\u00a0Interface"}, {"id": "Example", "title": "Example"}, {"id": "Result", "title": "Result"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/SVG/Element/feSpecularLighting", "review_tags": []}