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

[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 UTC