Force filtering on/off for texture uniforms in GLDEFS

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
RiboNucleic Asshat
Posts: 501
Joined: Thu May 09, 2013 8:15 pm
Preferred Pronouns: No Preference
Graphics Processor: nVidia with Vulkan support
Location: Exactly where I am
Contact:

Force filtering on/off for texture uniforms in GLDEFS

Post by RiboNucleic Asshat »

I am attempting to sample from a noise texture for a procedural texture shader, but enabling any sort of mipmapping or filtering is causing me unwanted artifacts. In most other situations, I can simply disable filtering on this specific texture, but GZDoom appears to apply the same filtering mode to every single texture indiscriminately. I'm assuming there's something preventing this from being implemented simply, else I'm sure it would have already been done, but in the case that there isn't, this would be very helpful for more advanced shader effects.

Screenshots of the artifacting it causes:
Spoiler: View the images in full resolution to see it better

Return to “Feature Suggestions [GZDoom]”