Comments (4)
I spoke too soon. The issue appears in all acts, just much less noticable. aside from the background color not matching black like on desktop, this looks like an index is mismatched. need to look into the specific index and pixel shader
from riiablo.
Experimented using different blend mode and still got the same behavior.
from riiablo.
Playing with the palettes directly shows that this appears to be an issue with index 254 across at least act 1 and 3 (the only ones that I've tested). The working assumption is that for some reason this value gets rounded up to index 255, which is white. Going to play around with texture filtering and wrapping and if need be, clamping the 0.5f offset to prevent a possible unwanted rounding because 254 is close enough to 2^8 (256).
from riiablo.
Texture filtering looks alright -- I assigned the renders to the default values. My guess is that this is caused by some rounding issue relating to the pixel (frag) shader for the upper index. This will require more extensive investigation to a more permanent suitable fix, however in the meantime I've added a workaround to the shader to translate index 255 to index 254 which has had no apparent side effects (have not tested or looked for legitimate uses of index 255). I'm uncomfortable with this fix until I can figure out why this is happening in only newest version of android.
Index 255 is the same in every included palette (0xFFFFFF
). I'd like to look through all included files and see if it's ever actually used -- many palettes with a white color seem to define it elsewhere in their table -- so it may just not ever be used, or it has some other meaning like index 0, or acts as a signature/terminator for palettes. In any case, this appears to be suitable workaround until this can be explorer further.
from riiablo.
Related Issues (20)
- Necromancer voodoo heads render on incorrect layer
- BitInput#readSlice initial state of bitsRead
- Tome of Town Portal 2 serialization failure
- Replace Guava LittleEndianDataStream with Apache Commons equivalent HOT 2
- Commons Lang3 3.10+
- Flatbuffers update HOT 2
- Configure snapshot vs release builds in gradle
- Implement Artemis bytecode weave support
- Refactor com.riiablo.excel to use annotation processors HOT 3
- Add support for #writeChars and #readChars
- Add function to reset key bindings
- IntelliJ :android facet not detecting
- IntelliJ detects all gradle projects as android-gradle
- Java 15 does not contain javax.annotations HOT 2
- Update build instructions for windows HOT 5
- Logging concurrently from multiple threads jumbles output
- Attributes.java line 234 parameter type should change from short to int. HOT 3
- Crash when move mouse on items in vendor panel HOT 5
- IntelliJ import,There is conflict between java version for gradle build and project HOT 2
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 riiablo.