添加关照、全局等高线、修改图层问题
This commit is contained in:
20
static/sdk/three/jsm/renderers/common/StorageTexture.js
Normal file
20
static/sdk/three/jsm/renderers/common/StorageTexture.js
Normal file
@ -0,0 +1,20 @@
|
||||
import { Texture, LinearFilter } from 'three';
|
||||
|
||||
class StorageTexture extends Texture {
|
||||
|
||||
constructor( width = 1, height = 1 ) {
|
||||
|
||||
super();
|
||||
|
||||
this.image = { width, height };
|
||||
|
||||
this.magFilter = LinearFilter;
|
||||
this.minFilter = LinearFilter;
|
||||
|
||||
this.isStorageTexture = true;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default StorageTexture;
|
Reference in New Issue
Block a user