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

Re: [css-shaders] render size?

From: Dean Jackson <dino@apple.com>
Date: Tue, 25 Oct 2011 10:12:52 -0700
Cc: www-style list <www-style@w3.org>
Message-id: <F87F4ED6-F003-4D02-87AC-891EF331C891@apple.com>
To: Gregg Tavares <gman@google.com> (wrk)
Could we have discussions about CSS Shaders/Filters on public-fx?
(The shaders spec doesn't mention this, but the filters spec does)

On 24/10/2011, at 9:59 AM, Gregg Tavares (wrk) wrote:

> How do you specify the resolution of the texture the CSS-shader renderer elements will be rendered too?
> 
> If I apply a CSS-shader to 100x100 pixel element, I can just put 
> 
>   gl_Positoin = u_projectionMatrix *  a_position * 100.0;
> 
> In order to render that element I now need a 10000x10000 texture. At least as I currently understand it. That element could be 3D CSSed to project into the background so I don't want to see it's edges cut off. It also needs to get composited with other elements on the page so I can't just "render to the backbuffer".
> 
> 
Received on Tuesday, 25 October 2011 17:13:22 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:05 UTC