Browse Source

new specularglossiness texture

David Catuhe 8 years ago
parent
commit
73dad33509

BIN
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")