Comments (5)
Throws this warning in Firefox, might be useful.
from texture-compressor.
It turns out I was not correctly setting the minFilter
and magFilter
to THREE.LinearFilter
.
This is not correct I think it should be texture.magFilter = THREE.LinearFilter;
and texture.minFilter = THREE.LinearMipMapLinearFilter;
. Unfortunately this doesn't work.
from texture-compressor.
Active texture 0 for target 0x0de1 is 'incomplete', and will be rendered as RGBA(0,0,0,1), as per the GLES 2.0.24 $3.8.2: Because the minification filter requires mipmapping, the texture must be "mipmap complete".
, that might be a clue. Perhaps 9 mipmaps is not enough (as it currently goes down to 2x2 instead of 1x1).
from texture-compressor.
After re-generating the complete mipchain down to 10 mipmaps (including the first level): (512x512, 256x256, 128x128, 64x64, 32x32, 16x16, 8x8, 4x4, 2x2, 1x1) it works! I'll try to add automatic detection of the imagesize and generate the corresponding mipchain as default.
from texture-compressor.
In order to avoid confusion about the levels of the mipchain they are now generated by default by checking the input image size and getting the length of the power of two's down to 1x1.
So in the end it has been solved! 💯
from texture-compressor.
Related Issues (16)
- Simplify setup, remove DDS and PVR and use KTX container instead
- Implementation to fix non-existing file is problematic HOT 1
- Add support for embedding texture compressor as a library into other tooling HOT 3
- S3TC quality tag not passed to crunch HOT 1
- Quality 9 and 10 do not work with ETC HOT 2
- about the compress texture mipmap. HOT 5
- S3TC Normal Map - Crunch Flag HOT 7
- S3TC - Default texture encoding HOT 2
- can not find module HOT 3
- error when using compressed textures in threejs HOT 2
- Getting random polka dots on some mipmap levels HOT 1
- Live demo not working
- Add mipmapping support HOT 5
- ASTC sometimes fails to read temporary outputted image from temporary folder HOT 1
- Enable Vertical flip HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from texture-compressor.