AnniXa Posted January 8, 2012 Posted January 8, 2012 hi =) I would like to use the nearest texture filter, how can i get this texture parameters for a materials texture? glTexParameteri GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_NEAREST glTexParameteri GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_NEAREST or if this is not possible via the material file/functions, how can i acces a specific texture to bind it and make those settings? ty for your time =) all i found was this: material.GetTexture(0).reference.filter but changing that value has no result Quote Whuts wroong?
Aily Posted January 8, 2012 Posted January 8, 2012 TextureFilter(tex,TEXFILTER_SMOOTH) ? Quote "Better" is big enemy of "good"
AnniXa Posted January 8, 2012 Author Posted January 8, 2012 On 1/8/2012 at 3:35 PM, Aily said: TextureFilter(tex,TEXFILTER_SMOOTH) ? tyvm that worked =) the one i now use is TEXFILTER_PIXEL, that one seems to be the GL_NEAREST one =) Quote Whuts wroong?
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.