glTexParameter and filtering in OpenGL and GLSL?
- by sharoz
I have a couple questions about glTexParameter and filtering
1) What is the scope when applying a glTexParameter (specifically the filtering)? Here's a scenario:
Bind a texture. Set the filters to LINEAR
Set the texture to "Sampler1" of a shader
Bind another texture. Set its filters to NEAREST
Set that texture to "Sampler2" of a shader
Draw
…