W3C home > Mailing lists > Public > www-style@w3.org > October 2011

Re: [css-shaders] Feedback about default fragment shader in CSS shaders proposal

From: <noam.rosenthal@nokia.com>
Date: Thu, 20 Oct 2011 15:24:28 +0000
To: <vhardy@adobe.com>
CC: <cmarrin@apple.com>, <www-style@w3.org>, <public-fx@w3.org>
Message-ID: <6AF1E47B-FF66-4A76-8BA8-E0C1159A60B3@nokia.com>

[vh] I agree that we should not have default uniforms and let people define their shaders if they need that. I have added an issue about turning blending on:

We do have a default uniform for the projection matrix…
Re. opacity, people can't do that in their shader, because specifically the opacity and transform parameters come from the "system" and not from the animated shader properties themselves; that's because those are the two parameters that are accumulated with the opacity and transform of the ancestors in the layer tree.

Having said that, I think we can work without it, it just means that we'd have to use an FBO for opacity on a css-shaded element, something we could otherwise potentially avoid.

No'am
Received on Thursday, 20 October 2011 15:25:14 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:45 GMT