• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTclient graphical glith sometimes

mrianuraa

Member
Joined
Dec 5, 2019
Messages
55
Reaction score
21
Last edited:
I've seen this issue before. However, I don't think it happens in vanilla OTClient or maybe it does under specific order of state changes in a painter. It is very difficult to debug, but when I experienced it due to my own changes the OpenGL painter was somehow losing bound texture. Anyway, as I did mention, it might be specific to OpenGL state changes (e.g. disabling / enabling texturing and binding textures) and underlying driver. I never knew what caused it because it simply vanished away.

Anyway, you need to debug it with try-error further because otherwise it's just a wild guess.
 
Thank you, for the feedback

Analyzing godot problem I fond a sentence:

Lua:
Some Nvidia GPU drivers have a bug, which produces flickering issues for the draw_rect method, especially as used in [TileMap]. 
Refer to [URL='https://github.com/godotengine/godot/issues/9913']Tilemap/draw_rect random flickering with Nvidia drivers · Issue #9913 · godotengine/godot (https://github.com/godotengine/godot/issues/9913)[/URL] for details. 
If true, this option enables a "safe" code path for such Nvidia GPUs, at the cost of performance. 
This option only impacts the GLES2 rendering backend (so the bug stays if you use GLES3), and only desktop platforms. Default value:

I will try to create similar workarounds as in the godot engine, but befor I will try to update all drivers - I will share results later.

BTW: I'm not ok with paid OTclient V8 and after getting familiar with otclient source code I'm going to implement some "paid" functionalities and share with community.

Regards,
Mariusz
 
Back
Top