BasisTextureLoader: Texture "fades over" its boundaries
See original GitHub issueDescription of the problem
BasisTextureLoader
produces different results for me on iOS than for other platforms.
Repro: https://nh2.me/webgl-basis-problem/
I get a weird “glow over” effect at the edge where the texture wraps around the sphere.
On any other platform, like Android or Chromium on Linux with Intel Mesa, it looks like this:
Notice the clear edge.
In contrast, on iOS, I get:
Here, the bright part of the left side of the texture somehow “glows over” into the right side.
I can’t tell whether this is a bug in three.js or in the basis decompressor.
Three.js version
- r108
Browser
- Safari
OS
- iOS
Hardware Requirements (graphics card, VR Device, …)
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Sizzix Texture Fades Embossing Folders 4PK - Americana ...
Distress to impress! Textured Fades Embossing Folders easily emboss in such a way that select areas of the image appear perfectly faded and...
Read more >Using Basis Textures in Three.js - Medium
Importing the Basis Texture Loader uses ES Modules Syntax for loading the modules. I have exposed my 'node_modules' directory as a static folder ......
Read more >Tim Holtz shows techniques using his Texture Fades - YouTube
Scrap Time - Tim Holtz shows techniques using his Texture Fades. Watch later. Share. Copy link. Info. Shopping. Tap to unmute.
Read more >Introducing 3-D Texture Fades™ Embossing Folders - Sizzix
... the detail and definition you can achieve with our newest 3-D Texture Fades ™ Embossing Folders! ... Your browser can't play this...
Read more >three.js: make texture zero outside boundaries - Stack Overflow
I'm using textures in shaders to do gpgpu computing and for my purpose I would like the texture to be zero outside its...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve tested the OP’s link on a iPad 8 with iOS 14.3 and Safari. I’m unable to reproduce the issue. I see a clear edge just like with my iMac.
The upstream issue was fixed according to https://github.com/BinomialLLC/basis_universal/issues/78. I’m not sure if we need to change our usage of the Basis transcoder to enable an option, or if it’s just fixed in the latest version of the transcoder — r125 will update three.js to the latest version of the transcoder, so let’s check this issue again then.