浏览代码

new specularglossiness texture

David Catuhe 8 年之前
父节点
当前提交
73dad33509
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 二进制
      Playground/textures/sg.png
  2. 3 3
      src/Materials/PBR/babylon.pbrSpecularGlossinessMaterial.ts

二进制
Playground/textures/sg.png


+ 3 - 3
src/Materials/PBR/babylon.pbrSpecularGlossinessMaterial.ts

@@ -8,14 +8,14 @@
     export class PBRSpecularGlossinessMaterial extends Internals.PBRBaseSimpleMaterial {
 
         /**
-         * Specifies the diffuse Color of the material.
+         * Specifies the diffuse color of the material.
          */
         @serializeAsColor3("diffuse")
         @expandToProperty("_markAllSubMeshesAsTexturesDirty", "_albedoColor")
         public diffuseColor: Color3;
         
         /**
-         * Specifies the diffuse texture of the material. This can aslo contains the opcity value in its alpha
+         * Specifies the diffuse texture of the material. This can also contains the opcity value in its alpha
          * channel.
          */
         @serializeAsTexture()
@@ -37,7 +37,7 @@
         public glossiness: number;
         
         /**
-         * Spectifies both the specular color RGB and the glossiness A of the material per pixels.
+         * Specifies both the specular color RGB and the glossiness A of the material per pixels.
          */
         @serializeAsTexture()
         @expandToProperty("_markAllSubMeshesAsTexturesDirty", "_reflectivityTexture")