I have been searching for more information about using same texture in more texture units in one material. I am interested in filtering and mipmaps only. I need to use a texture in my shader with filtering and mipmap on one place and without filtering and mipmap on another place (I need precise value). The only thing I found is:
in hereThe ’numMipMaps’ option allows you to specify the number of mipmaps to generate for this texture. Note that if you use the same texture in many material scripts, the number of mipmaps generated will conform to the number specified in the first texture_unit used to load the texture - so be consistent with your usage.
http://www.ogre3d.org/docs/manual/manual_17.html
My question is - is it somehow possible to control (in shader) which mipmap is used? What about filtering? Is it also per texture or texture unit?
I should point out that I am still using ogre 1.7.4 (MOGRE wrapper).
Thank you.