glTF icon indicating copy to clipboard operation
glTF copied to clipboard

glTF should provide API information

Open fabrobinet opened this issue 13 years ago • 3 comments

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.

fabrobinet avatar Mar 15 '13 03:03 fabrobinet

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.

pjcozzi avatar Mar 15 '13 12:03 pjcozzi

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

tparisi avatar Mar 15 '13 17:03 tparisi

profile is part of the new schema. @fabrobinet can we close this?

pjcozzi avatar Mar 06 '14 22:03 pjcozzi