Ben S.
Ben S.
Nope, I just tried those too, and it has no effect.
Created PR #114 based on the commit I previously linked/described. None of the changes you've proposed seem to work as alternatives to my implementation.
FYI, here's an alternative to `texture2DLod()` that also seems to work for me - not sure if it fits your compatibility criteria either though: ```glsl vec4 tile_color = textureGrad(t_tileset, tile_address,...
I suspect then that the real maximum compatibility fix is to actually generate appropriate mipmaps for the atlas or something.
If it's not a mipmap problem, then why does forcing use of LOD 0 fix it? Unrelated: Do any of the renderers besides GL2 support filtered scaling?
So I tried building the texture atlas in a CPU memory buffer, then creating the OpenGL texture from that, then creating mipmaps by successively averaging half the pixels together and...
Got the samples building, and `samples_cpp` seems to exhibit the artifacting problem only when using the OPENGL2 renderer. OPENGL2 seems to be the only one doing filtered (bilinear?) scaling, versus...
> I might need to add a pixel of padding around the tiles or something. I'm wondering if the "half pixel correction" described here might be relevant (ignore the stuff...
I'm not much of a shader programmer, but I think I've mostly wrapped my head around this after studying it for a while. **My biggest concern** is that the `t_console_tile`...
I'll try to play with it tomorrow. I don't actually have a full build setup for libtcod yet - I copied the sample files out of some internal directory that...