@@ -501,19 +501,19 @@ module.exports = {
501
501
properties : {
502
502
alphaTest : new Types . Float ( 0.0 ) ,
503
503
blendDst : new Types . Enum ( 'BlendFactors' , 'OneMinusSrcAlphaFactor' ) ,
504
- // blendDstAlpha: new Types.Float(null),
504
+ blendDstAlpha : new Types . Float ( null ) ,
505
505
blending : new Types . Enum ( 'BlendingMode' , 'NormalBlending' ) ,
506
506
blendSrc : new Types . Enum ( 'BlendFactors' , 'SrcAlphaFactor' ) ,
507
- // blendSrcAlpha: new Types.Float(null),
507
+ blendSrcAlpha : new Types . Float ( null ) ,
508
508
blendEquation : new Types . Enum ( 'Equations' , 'AddEquation' ) ,
509
- // blendEquationAlpha: new Types.Float(null),
509
+ blendEquationAlpha : new Types . Float ( null ) ,
510
510
clipIntersection : new Types . Bool ( false ) ,
511
- // clippingPlanes: new Types.ThreeTypeArray('Plane'), // TODO: Should default to null
511
+ clippingPlanes : new Types . ThreeTypeArray ( 'Plane' ) ,
512
512
clipShadows : new Types . Bool ( false ) ,
513
513
colorWrite : new Types . Bool ( true ) ,
514
514
//customDepthMaterial: new Types.ForwardDeclaredThreeType('MeshDepthMaterial', 'pythreejs', {allowNull: true}),
515
515
//customDistanceMaterial: new Types.ForwardDeclaredThreeType('MeshDepthMaterial', 'pythreejs', {allowNull: true}),
516
- // defines: new Types.Dict(undefined ),
516
+ defines : new Types . Dict ( null , true ) ,
517
517
depthFunc : new Types . Enum ( 'DepthMode' , 'LessEqualDepth' ) ,
518
518
depthTest : new Types . Bool ( true ) ,
519
519
depthWrite : new Types . Bool ( true ) ,
@@ -524,7 +524,7 @@ module.exports = {
524
524
polygonOffset : new Types . Bool ( false ) ,
525
525
polygonOffsetFactor : new Types . Float ( 0 ) ,
526
526
polygonOffsetUnits : new Types . Float ( 0 ) ,
527
- // precision: new Types.String('lowp'), // TODO: Needs to be undefined on JS side!
527
+ precision : new Types . String ( null , true ) ,
528
528
premultipliedAlpha : new Types . Bool ( false ) ,
529
529
dithering : new Types . Bool ( false ) ,
530
530
shading : new Types . Enum ( 'Shading' , 'SmoothShading' ) ,
@@ -747,13 +747,12 @@ module.exports = {
747
747
morphTargets : new Types . Bool ( false ) ,
748
748
shading : new Types . Enum ( 'Shading' , 'SmoothShading' ) ,
749
749
skinning : new Types . Bool ( false ) ,
750
- uniforms : new Types . Dict ( ) ,
751
750
vertexShader : new Types . String ( '' ) ,
752
751
wireframe : new Types . Bool ( false ) ,
753
752
wireframeLinewidth : new Types . Float ( 1.0 ) ,
754
753
} ,
755
754
constructorArgs : [ 'parameters' ] ,
756
- propsDefinedByThree : [ 'extenstions ' ] ,
755
+ propsDefinedByThree : [ 'extensions ' ] ,
757
756
} ,
758
757
ShadowMaterial : {
759
758
relativePath : './materials/ShadowMaterial' ,
0 commit comments