Closed Emafire003 closed 10 months ago
does, by any chance, a chat message appear the same time it goes funky? it might be a blending issue, and the chat overlay is a common event creating that problem. try to enable blend and set the default blend func before rendering the texture.
Yes, a chat message is displayed in the action bar. I tried what you said and it worked, thank you!
Bug Description
While rendering a PNG texture on the screen it sometimes displays it correctly and some other times it gets drawn more badly, more "pixellated", and I can't figure out why, if it's something I miscofigured or not. Images below.
Code
(isLightReady returns true for 10ish seconds after a packet is sent from the server, if you need more context [here is the full source])(https://github.com/Emafire003/LightWithin/blob/main/src/main/java/me/emafire003/dev/lightwithin/client/RendererEventHandler.java)
Expected Behavior
I would expect the icons/textures/images to be rendered at least the same way each time, and not changing after a few seconds.
Screenshots
correct incorrect
Desktop
Additional Context
Sometimes it starts as pixellated and then after a few seconds turns normal. Also, this is one of the files that should be rendered, along with how it turns out. correct incorrect
Also sometimes dying while the icon is displayes makes it dispaly as more pixellated or whatever and when the icon disappears it seems briefly to display normally.