Skip to content

Commit

Permalink
Fix BasicDiffuseMethod default colour settings. Closes away3d#66
Browse files Browse the repository at this point in the history
  • Loading branch information
DerSchmale committed Sep 2, 2011
1 parent 33ca597 commit c723cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/away3d/materials/methods/BasicDiffuseMethod.as
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ package away3d.materials.methods
private var _diffuseData : Vector.<Number>;
private var _cutOffData : Vector.<Number>;

private var _diffuseR : Number, _diffuseG : Number = 0, _diffuseB : Number = 0, _diffuseA : Number;
private var _diffuseR : Number = 1, _diffuseG : Number = 1, _diffuseB : Number = 1, _diffuseA : Number = 1;
protected var _shadowRegister : ShaderRegisterElement;

private var _alphaThreshold : Number = 0;
Expand Down

0 comments on commit c723cdf

Please sign in to comment.