mirror of
https://github.com/CesiumGS/obj2gltf.git
synced 2024-11-30 03:50:14 -05:00
Remove minFilter and magFilter
This commit is contained in:
parent
2634c25e33
commit
4270358310
@ -1,6 +1,10 @@
|
||||
Change Log
|
||||
==========
|
||||
|
||||
### 3.?.? - 2021-??-??
|
||||
|
||||
* Removed `minFilter` and `magFilter` from generated samplers so that runtime engines can use their preferred texture filtering. [#240](https://github.com/CesiumGS/obj2gltf/pull/240)
|
||||
|
||||
### 3.1.1 - 2021-06-22
|
||||
|
||||
* Fixed security warnings by updating outdated npm dependencies. [#254](https://github.com/CesiumGS/obj2gltf/pull/254)
|
||||
|
@ -89,8 +89,6 @@ function createGltf(objData, options) {
|
||||
|
||||
if (gltf.images.length > 0) {
|
||||
gltf.samplers.push({
|
||||
magFilter : WebGLConstants.LINEAR,
|
||||
minFilter : WebGLConstants.NEAREST_MIPMAP_LINEAR,
|
||||
wrapS : WebGLConstants.REPEAT,
|
||||
wrapT : WebGLConstants.REPEAT
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user