
setMipmapping(int)
- Sets the mipmap mode
- integer
- 0 or bge.render.RAS_MIPMAP_NONE
- 1 or bge.render.RAS_MIPMAP_NEAREST
- 2 or bge.render.RAS_MIPMAP_LINEAR
- RAS_MIPMAP_NONE = mipmapping disabled
- RAS_MIPMAP_NEAREST = nearest mipmap level is chosen according to distance
- RAS_MIPMAP_LINEAR = Uses the nearest two mipmap levels are chosen to produce a texture value from each mipmap
Note:
- Blender 3D Mipmaps checkbox
- User Preferencens menu >> System button >> OpenGL >> Mipmaps
- Mipmapping:
- Mipmapping creates multiple versions of a texture
- The different versions are traditionally each half the size of the last
- They are created by downscaling the texture and blending adjacent pixels together
- Distance determines which version of the mipmapped texture is displayed
- Mipmapping creates multiple versions of a texture

Sample Code
################ set mipmap setting
# import bge module
import bge
# get the render module
rend = bge.render
# disable mipmapping
rend.setMipmapping(bge.render.RAS_MIPMAP_NONE)