- From: Kang-Hao (Kenny) Lu <kanghaol@oupeng.com>
- Date: Sat, 12 Oct 2013 02:03:53 +0800
- To: W3C HTML5 中文興趣小組 <public-html-ig-zh@w3.org>
WebGL 2.0 草案[1]出来了,看来 WebGL 工作组的所有工作,包括
* WebGL 1.0 规范/WebGL 2.0 草案
* WebGL 扩展
* WebGL 测试案例
都支持 GitHub[2] 提交 pull request,需要讨论的技术议题有公开邮件组[3]
(OpenGL ES 好像就没有 :()。我不是对 GL 很熟悉,这个版本主要的新特性有:
* 多重渲染目标(out vec4 fragData[N])
* 着色器语言升级为 GLSL ES 3.00(从 GLSL 3.3 改出来的,但是差很多,也
没有几何着色器)
* 压缩纹理
* 新的 render-buffer 格式
* VAO
* PBO
* ...
欢迎专家带动讨论一下。个人的经验是 OpenGL 4.x 的规范比 OpenGLES 好
读,OpenGLES 看起来各种不严谨(不过 WebGL 是最差的 orz)。
最近 Khronos 北京也开始有各种活动,或许之后会来翻 OpenGLES 2.0 跟
WebGL,有兴趣的人可以加一下 QQ 群:295115370
Firefox 有一个实验性质的实现[4],不过我注意到他用的着色器好像不是 GLSL
ES 3.00(这个版本没有 gl_FragData 了),另外,使用 WebGL2 的方法是:
canvas.getContext("experimental-webgl2");
那个 2 让人很不爽,不过草案也要求这样,参考讨论[5]。之后讨论一下。
[1] http://www.khronos.org/registry/webgl/specs/latest/2.0/
[2] http://www.khronos.org/webgl/wiki/Using_Github_To_Contribute
[3] https://www.khronos.org/webgl/public-mailing-list/archives/
[4] https://wiki.mozilla.org/Platform/GFX/WebGL2
[5]
https://www.khronos.org/webgl/public-mailing-list/archives/1310/msg00000.html
以上
Kenny
-------- Original Message --------
Subject: [Public WebGL] First editor's draft of WebGL 2.0 available
Date: Mon, 16 Sep 2013 10:07:49 -0700
From: Dean Jackson <dino@apple.com>
To: public_webgl@khronos.org webgl <public_webgl@khronos.org>
We're happy to announce that the first editor's draft of WebGL 2.0 was
uploaded to github/khronos.org last Friday.
http://www.khronos.org/registry/webgl/specs/latest/2.0/
There are plenty of missing sections, and TODOs, and errors we've
already discovered, but it gives everyone a good idea of the API. If
you're a github member, you can file typos/etc against:
https://github.com/KhronosGroup/WebGL
However, if the issue warrants broader discussion, it's probably best to
email this mailing list.
Again, this is an editor's draft - not an official release from the
WebGL Working Group.
Dean
-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------
Received on Friday, 11 October 2013 18:04:23 UTC