|
@@ -94,7 +94,7 @@ var updateMenuPos = function(){
|
|
|
var updateMenuVisi = function(toPano){
|
|
|
|
|
|
menuDiv.visi = toPano && (toPano.id == menuDiv.visiblePano)
|
|
|
-
|
|
|
+ menuDiv.object
|
|
|
}
|
|
|
|
|
|
|
|
@@ -14899,8 +14899,8 @@ window.Modernizr = function(n, e, t) {
|
|
|
var i = new x.Scene
|
|
|
, n = new x.AmbientLight(16777215);
|
|
|
i.add(n),
|
|
|
- i.skybox = new W,
|
|
|
- i.add(i.skybox),
|
|
|
+ //i.skybox = new W,
|
|
|
+ //i.add(i.skybox),
|
|
|
i.plane = new x.Mesh(new x.PlaneBufferGeometry(1e5,1e5),new x.RawShaderMaterial({
|
|
|
side: x.DoubleSide
|
|
|
})),
|
|
@@ -24649,10 +24649,13 @@ window.Modernizr = function(n, e, t) {
|
|
|
,
|
|
|
n.prototype.createContext = function(e) {
|
|
|
try {
|
|
|
- this.renderer = new r.WebGLRenderer({antialias: !m.isMobile()}),
|
|
|
+ this.renderer = new r.WebGLRenderer({antialias: !m.isMobile(), alpha:true}),//透明
|
|
|
this.renderer.autoClear = !0,
|
|
|
this.renderer.setPixelRatio(window.devicePixelRatio ? window.devicePixelRatio : 1),
|
|
|
this.renderer.setSize($("#player").width(), $("#player").height(), false), //改
|
|
|
+
|
|
|
+ this.renderer.setClearColor( 0x000000, 0 ); //透明
|
|
|
+
|
|
|
this.emit(a.ContextCreated)
|
|
|
} catch (e) {
|
|
|
throw new h("Unable to create a WebGL rendering context")
|