Browse Source

Fix Naming and Spelling

Sebastien Vandenberghe 8 years ago
parent
commit
83eca29924

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

@@ -240,7 +240,7 @@
         protected _useLightmapAsShadowmap = false;
         
         /**
-         * Secifies that the alpha is coming form the albedo channel alpha channel.
+         * Specifies that the alpha is coming form the albedo channel alpha channel.
          */
         protected _useAlphaFromAlbedoTexture = false;
         
@@ -350,14 +350,14 @@
         protected _forceAlphaTest = false;
 
         /**
-         * Secifies that the alpha is premultiplied before output (this enables alpha premultiplied blending).
+         * Specifies that the alpha is premultiplied before output (this enables alpha premultiplied blending).
          * in your scene composition.
          */
         protected _premultiplyAlpha = false;
 
         /**
          * A fresnel is applied to the alpha of the model to ensure grazing angles edges are not alpha tested.
-         * And/Or ocllude the blended part.
+         * And/Or occlude the blended part.
          */
         protected _useAlphaFresnel = false;
 

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

@@ -222,7 +222,7 @@
         public useLightmapAsShadowmap = false;
         
         /**
-         * Secifies that the alpha is coming form the albedo channel alpha channel.
+         * Specifies that the alpha is coming form the albedo channel alpha channel.
          */
         @serialize()
         @expandToProperty("_markAllSubMeshesAsTexturesDirty")
@@ -360,7 +360,7 @@
         public twoSidedLighting = false;
 
         /**
-         * Secifies that the alpha is premultiplied before output (this enables alpha premultiplied blending).
+         * Specifies that the alpha is premultiplied before output (this enables alpha premultiplied blending).
          * in your scene composition.
          */
         @serialize()
@@ -369,7 +369,7 @@
 
         /**
          * A fresnel is applied to the alpha of the model to ensure grazing angles edges are not alpha tested.
-         * And/Or ocllude the blended part.
+         * And/Or occlude the blended part.
          */
         @serialize()
         @expandToProperty("_markAllSubMeshesAsTexturesDirty")

+ 10 - 10
src/PostProcess/babylon.imageProcessingPostProcess.ts

@@ -113,15 +113,15 @@
         }
 
         /**
-         * Gets Camera exposure used in the effect.
+         * Gets exposure used in the effect.
          */
-        public get cameraExposure(): number {
+        public get exposure(): number {
             return this.imageProcessingConfiguration.exposure;
         }
         /**
-         * Sets Camera exposure used in the effect.
+         * Sets exposure used in the effect.
          */
-        public set cameraExposure(value: number) {
+        public set exposure(value: number) {
             this.imageProcessingConfiguration.exposure = value;
         }
 
@@ -139,15 +139,15 @@
         };
 
         /**
-         * Gets Camera contrast used in the effect.
+         * Gets contrast used in the effect.
          */
-        public get cameraContrast(): number {
+        public get contrast(): number {
             return this.imageProcessingConfiguration.contrast;
         }
         /**
-         * Sets Camera contrast used in the effect.
+         * Sets contrast used in the effect.
          */
-        public set cameraContrast(value: number) {
+        public set contrast(value: number) {
             this.imageProcessingConfiguration.contrast = value;
         }
 
@@ -221,13 +221,13 @@
         /**
          * Gets Camera field of view used by the Vignette effect.
          */
-        public get cameraFov(): number {
+        public get vignetteCameraFov(): number {
             return this.imageProcessingConfiguration.vignetteCameraFov;
         }
         /**
          * Sets Camera field of view used by the Vignette effect.
          */
-        public set cameraFov(value: number) {
+        public set vignetteCameraFov(value: number) {
             this.imageProcessingConfiguration.vignetteCameraFov = value;
         }