glTF should provide API information
We discussed previously about adding a Profile information. Something like "API x.x" for instance "WebGL 1.0"
This isn't clearly mentioned yet in the schema/documentation.
For glTF 1.0, we really only need the "WebGL : 1.0" profile. This will work for WebGL, OpenGL ES 2.0, and OpenGL compatibility profile (unfortunately still widely used).
However, moving forward, we definitively want other profiles to support the modern GLSL on desktop and other features like binary shaders, new shader stages, 32-bit indices, etc.
A client could negotiate this via a rest API.
Excellent.
On Fri, Mar 15, 2013 at 5:27 AM, Patrick Cozzi [email protected]:
For glTF 1.0, we really only need the "WebGL : 1.0" profile. This will work for WebGL, OpenGL ES 2.0, and OpenGL compatibility profile (unfortunately still widely used).
However, moving forward, we definitively want other profiles to support the modern GLSL on desktop and other features like binary shaders, new shader stages, 32-bit indices, etc.
A client could negotiate this via a rest API.
— Reply to this email directly or view it on GitHubhttps://github.com/KhronosGroup/glTF/issues/2#issuecomment-14957765 .
Tony Parisi [email protected] CTO at Large 415.902.8002 Skype auradeluxe Follow me on Twitter! http://twitter.com/auradeluxe Read my blog at http://www.tonyparisi.com/
Read my book! WebGL, Up and Running http://shop.oreilly.com/product/0636920024729.do http://www.amazon.com/dp/144932357X
profile is part of the new schema. @fabrobinet can we close this?