when I import a picture with red, yellow and blue into the shader of godot 3.5 and 4 as sampler2D txeture, they will give me different result.
in the 3.5 it is great, but the godot 4 will mixing all colors then turn the txeture into grey.
godot4 shader mixing color unexpectedly
Ance Your bitmap is only 4x4 pixels in size and it got "damaged" by vram compression at import. Reimport it with compression mode set to "lossless"
Can you post a minimal project that reproduces the problem?
Ance Your bitmap is only 4x4 pixels in size and it got "damaged" by vram compression at import. Reimport it with compression mode set to "lossless"
[unknown] solved it just like you say, thank you, really helpful. 🙂
© 2022 - 2024 — McMap. All rights reserved.