Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guycalledfrank committed Jun 12, 2015
1 parent 2d06b7f commit 1f8ee3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scene/scene_scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ pc.extend(pc, function () {
};

material.updateShader();
if (!scene._skyboxMip) {
if (!this._skyboxCubeMap.fixCubemapSeams || !scene._skyboxMip) {
material.setParameter("texture_cubeMap", this._skyboxCubeMap);
} else {
var mip2tex = [null, "64", "16", "8", "4"];
Expand Down

0 comments on commit 1f8ee3b

Please sign in to comment.