Browse Source

Docs: Clean up.

Mugen87 5 years ago
parent
commit
0719888cda

+ 1 - 1
docs/api/en/materials/ShaderMaterial.html

@@ -348,7 +348,7 @@ this.extensions = {
 
 		<h3>[property:String glslVersion]</h3>
 		<p>
-		Defines the GLSL version of custom shader code. Only relevant for WebGL 2 in order to define whether to use
+		Defines the GLSL version of custom shader code. Only relevant for WebGL 2 in order to define whether to specify
 		GLSL 3.0 or not. Valid values are *THREE.GLSL1* or *THREE.GLSL3*. Default is *null*.
 		</p>
 

+ 2 - 1
docs/api/en/scenes/Scene.html

@@ -33,7 +33,8 @@
 
 		<h3>[property:Object background]</h3>
 		<p>
-		If not null, sets the background used when rendering the scene, and is always rendered first. Can be set to a [page:Color] which sets the clear color, a [page:Texture] covering the canvas, or a cubemap as a [page:CubeTexture] or [page:WebGLCubeRenderTarget]. Default is null.
+		If not null, sets the background used when rendering the scene, and is always rendered first.
+		Can be set to a [page:Color] which sets the clear color, a [page:Texture] covering the canvas, a cubemap as a [page:CubeTexture] or [page:WebGLCubeRenderTarget] or an equirectangular as a [page:Texture] . Default is null.
 		</p>
 
 		<h3>[property:Texture environment]</h3>

+ 1 - 1
docs/api/zh/materials/ShaderMaterial.html

@@ -312,7 +312,7 @@ this.extensions = {
 
 		<h3>[property:String glslVersion]</h3>
 		<p>
-		Defines the GLSL version of custom shader code. Only relevant for WebGL 2 in order to define whether to use
+		Defines the GLSL version of custom shader code. Only relevant for WebGL 2 in order to define whether to specify
 		GLSL 3.0 or not. Valid values are *THREE.GLSL1* or *THREE.GLSL3*. Default is *null*.
 		</p>
 

+ 2 - 2
docs/api/zh/scenes/Scene.html

@@ -34,8 +34,8 @@
 
 		<h3>[property:Object background]</h3>
 		<p>
-			若不为空,在渲染场景的时候将设置背景,且背景总是首先被渲染的。
-			可以设置一个用于的“clear”的[page:Color](颜色)、一个覆盖canvas的[page:Texture](纹理),或是一个[page:CubeTexture]。默认值为null。
+		If not null, sets the background used when rendering the scene, and is always rendered first.
+		Can be set to a [page:Color] which sets the clear color, a [page:Texture] covering the canvas, a cubemap as a [page:CubeTexture] or [page:WebGLCubeRenderTarget] or an equirectangular as a [page:Texture] . Default is null.
 		</p>
 
 		<h3>[property:Texture environment]</h3>