Issue with bilinear filter + hires tex + sprite shader

Sat Jan 08, 2022 11:49 pm

There seems to be an issue in how sprites are displayed when hires textures, material shaders and bilinear filtering is enabled. It appears that when the bilinear filter is enabled, the edges of the sprite are wrapping to the other end:



I've attached a pk3 that reproduces this issue.
You do not have the required permissions to view the files attached to this post.

Re: Issue with bilinear filter + hires tex + sprite shader

Sun Jan 09, 2022 5:46 am

This is a known issue that cannot be fixed. Normally you use texture clamping for that, but with hardware shaders that can cause problems with how the result looks, so clamping is disabled.
You have to design these sprites to have a small border on the outside if you want to use a hardware shader.