smartGL icon indicating copy to clipboard operation
smartGL copied to clipboard

white grid on Tilemap

Open creek23 opened this issue 5 years ago • 4 comments

To reproduce problem, create a tilemap.

White grid shows because of white-ish halo surrounding each texture.

Made a quick fix, available on my fork: https://github.com/creek23/smartGL/blob/master/smartgl/src/main/java/fr/arnaudguyon/smartgl/opengl/OpenGLRenderer.java

~creek23

creek23 avatar Apr 18 '19 11:04 creek23

Hi. I'm not sure to understand the problem and the fix. Do you have some screenshots or samples to run? thank ! Arnaud.

smart-fun avatar Apr 29 '19 20:04 smart-fun

below is the default rendering white_grid

below is the one with the supposed fix. black_grid

and no, it's not the PNG image used -- I double-checked it with GIMP and MSPaint

~creek23

creek23 avatar Apr 30 '19 18:04 creek23

@creek23 could you upload the png here so that I can test please ?

smart-fun avatar May 17 '19 17:05 smart-fun

I think, the problem is somewhat related to how I implemented my tilemap which caused framerate dropping as indicated in a separate thread -- I pasted the image used there as well.

~creek23

creek23 avatar May 18 '19 14:05 creek23