Skip to content

Commit

Permalink
Fixed examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Jan 29, 2016
1 parent 806c693 commit b60f67f
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/js/ShaderSkin.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ THREE.ShaderSkin = {
THREE.UniformsLib[ "fog" ],
THREE.UniformsLib[ "ambient" ],
THREE.UniformsLib[ "lights" ],
THREE.UniformsLib[ "shadowmap" ],

{

Expand Down Expand Up @@ -268,6 +267,7 @@ THREE.ShaderSkin = {
"varying vec3 vViewPosition;",

THREE.ShaderChunk[ "common" ],
THREE.ShaderChunk[ "lights_pars" ],
THREE.ShaderChunk[ "shadowmap_pars_vertex" ],

"void main() {",
Expand Down
1 change: 0 additions & 1 deletion examples/js/ShaderTerrain.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ THREE.ShaderTerrain = {
THREE.UniformsLib[ "fog" ],
THREE.UniformsLib[ "ambient" ],
THREE.UniformsLib[ "lights" ],
THREE.UniformsLib[ "shadowmap" ],

{

Expand Down
1 change: 0 additions & 1 deletion examples/js/loaders/MMDLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -3636,7 +3636,6 @@ THREE.ShaderLib[ 'mmd' ] = {
THREE.UniformsLib[ "fog" ],
THREE.UniformsLib[ "ambient" ],
THREE.UniformsLib[ "lights" ],
THREE.UniformsLib[ "shadowmap" ],

{
"emissive" : { type: "c", value: new THREE.Color( 0x000000 ) },
Expand Down
3 changes: 1 addition & 2 deletions examples/js/nodes/materials/PhongNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ THREE.PhongNode.prototype.build = function( builder ) {

THREE.UniformsLib[ "fog" ],
THREE.UniformsLib[ "ambient" ],
THREE.UniformsLib[ "lights" ],
THREE.UniformsLib[ "shadowmap" ]
THREE.UniformsLib[ "lights" ]

] ) );

Expand Down
3 changes: 1 addition & 2 deletions examples/js/nodes/materials/StandardNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ THREE.StandardNode.prototype.build = function( builder ) {

THREE.UniformsLib[ "fog" ],
THREE.UniformsLib[ "ambient" ],
THREE.UniformsLib[ "lights" ],
THREE.UniformsLib[ "shadowmap" ]
THREE.UniformsLib[ "lights" ]

] ) );

Expand Down

0 comments on commit b60f67f

Please sign in to comment.