diff --git a/docs/api/en/materials/ShaderMaterial.html b/docs/api/en/materials/ShaderMaterial.html index 0ef58dd9e767951eb602e9fcdb47e8db56607c1d..338c1922e7c6075360b27cd7306da93debe0b6ba 100644 --- a/docs/api/en/materials/ShaderMaterial.html +++ b/docs/api/en/materials/ShaderMaterial.html @@ -409,6 +409,11 @@ this.extensions = { so updating the value of the uniform will immediately update the value available to the GLSL code.

+

[property:Boolean uniformsNeedUpdate]

+

+ Can be used to force a uniform update while changing uniforms in [page:Object3D.onBeforeRender](). Default is *false*. +

+

[property:Boolean vertexColors]

Defines whether vertex coloring is used. Default is *false*. diff --git a/docs/api/zh/materials/ShaderMaterial.html b/docs/api/zh/materials/ShaderMaterial.html index fc8f4862ee3d14890e6e547e450be48ec918a7bc..a7f5d2d1eeedd587f264d1d416a04f221c8fc59a 100644 --- a/docs/api/zh/materials/ShaderMaterial.html +++ b/docs/api/zh/materials/ShaderMaterial.html @@ -357,6 +357,11 @@ this.extensions = { 注意,uniforms逐帧被刷新,所以更新uniform值将立即更新GLSL代码中的相应值。

+

[property:Boolean uniformsNeedUpdate]

+

+ Can be used to force a uniform update while changing uniforms in [page:Object3D.onBeforeRender](). Default is *false*. +

+

[property:Boolean vertexColors]

Defines whether vertex coloring is used. Default is *false*.