[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] WebGLSL Media Type Proposal

On Mon, May 21, 2012 at 11:36 PM, Brandon Jones <tojiro@gmail.com> wrote:
+1 on needing an analog to FX files. Their usefulness diminishes in larger projects, but simply having a standardized package for a full visual effect would be valuable to anyone trying to share shaders.

The particular issue in sharing shaders isn't what syntax embellishings they're delivered in, or what kind of loading we use for them. The particular issue is that a shader only works when setup just right with the correct vertex attributes, uniforms, textures, rendering modes etc. You realistically can't just share a whole shader, whithout also writing an entire infrastructure library around it, that assumes as a convention all the things the shader need to work.