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

Force filtering on/off for texture uniforms in GLDEFS

Postby RiboNucleic Asshat » Sat Jan 19, 2019 10:56 am

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
User avatar
RiboNucleic Asshat
I'm gay in every way
Joined: 09 May 2013
Location: Exactly where I am
Discord: Ribonucleic Asshat#7687
Twitch ID: ribonucleicasshat
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia with Vulkan support

Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest