|
@@ -161,7 +161,7 @@ export class VideoDome extends TransformNode {
|
|
|
let material = this._material = new BackgroundMaterial(name + "_material", scene);
|
|
|
let texture = this._videoTexture = new VideoTexture(name + "_texture", urlsOrVideo, scene, false, this._useDirectMapping, Texture.TRILINEAR_SAMPLINGMODE, tempOptions);
|
|
|
this._mesh = Mesh.CreateSphere(name + "_mesh", options.resolution, options.size, scene, false, Mesh.BACKSIDE);
|
|
|
-
|
|
|
+ texture.anisotropicFilteringLevel = 1;
|
|
|
texture.onLoadObservable.addOnce(() => {
|
|
|
this._setReady(true);
|
|
|
});
|