Re: [css shaders] comment on grid dimensions

On 05/10/2011, at 10:46 AM, Vincent Hardy wrote:
> So you are thinking of a way for the shader source to contain the mesh size it wants. In the examples we worked on, the mesh size depends on what the shader does and the resolution (pushed to the extreme, on a 1x1 image, we would not need more vertices). So if we put this in the shader itself, then it may have to be a function of the input size. 
> May be we could balance this with a shader having a default mesh size and the author having the ability to override the default?

Yes, that's what I had in mind.


Received on Tuesday, 4 October 2011 23:48:44 UTC