提交 06270969 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #11778 from nevermakeport/patch-1

Docs: Fix link and typos
......@@ -14,7 +14,7 @@
<div class="desc">
A material rendered with custom shaders. A shader is a small program written in
[link:https://www.khronos.org/files/opengles_shading_language.pdf_ES GLSL] that runs on the GPU.
[link:https://www.khronos.org/files/opengles_shading_language.pdf GLSL] that runs on the GPU.
You may want to use a custom shader if you need to:
<ul>
<li>implement an effect not included with any of the built-in [page:Material materials]</li>
......@@ -40,7 +40,7 @@
must be used instead.
</li>
<li>
Built in attributes an uniforms are passed to the shaders along with your code.
Built in attributes and uniforms are passed to the shaders along with your code.
If you don't want the [page:WebGLProgram] to add anything to your shader code, you can use
[page:RawShaderMaterial] instead of this class.
</li>
......@@ -296,7 +296,7 @@ this.defaultAttributeValues = {
<h3>[property:Object extensions]</h3>
<div>
An object with the folowing properties:
An object with the following properties:
<code>
this.extensions = {
derivatives: false, // set to use derivatives
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册