Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Disable bilinear filtering

$
0
0

@frauzufall wrote:

Hey there,

how can I disable bilinear filtering (blurring) when drawing an image or texture bigger as is is?

I read that I should use

glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);

but it has no effect.

Thanks,
Deborah

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles