|
@@ -155,22 +155,16 @@ export class Material implements IAnimatable {
|
|
|
public static readonly MATERIAL_ALPHATESTANDBLEND = 3;
|
|
|
|
|
|
/**
|
|
|
- * The linear method is used to blend normals.
|
|
|
- * Details of the algorithm can be found here: https://blog.selfshadow.com/publications/blending-in-detail/
|
|
|
- */
|
|
|
- public static readonly MATERIAL_NORMALBLENDMETHOD_LINEAR = 0;
|
|
|
-
|
|
|
- /**
|
|
|
* The Whiteout method is used to blend normals.
|
|
|
* Details of the algorithm can be found here: https://blog.selfshadow.com/publications/blending-in-detail/
|
|
|
*/
|
|
|
- public static readonly MATERIAL_NORMALBLENDMETHOD_WHITEOUT = 1;
|
|
|
+ public static readonly MATERIAL_NORMALBLENDMETHOD_WHITEOUT = 0;
|
|
|
|
|
|
/**
|
|
|
* The Reoriented Normal Mapping method is used to blend normals.
|
|
|
* Details of the algorithm can be found here: https://blog.selfshadow.com/publications/blending-in-detail/
|
|
|
*/
|
|
|
- public static readonly MATERIAL_NORMALBLENDMETHOD_RNM = 2;
|
|
|
+ public static readonly MATERIAL_NORMALBLENDMETHOD_RNM = 1;
|
|
|
|
|
|
/**
|
|
|
* Custom callback helping to override the default shader used in the material.
|