![]() |
Xors3d Engine
|
Defines | |
#define | TF_ANISOTROPIC 3 |
#define | TF_ANISOTROPICX16 6 |
#define | TF_ANISOTROPICX4 4 |
#define | TF_ANISOTROPICX8 5 |
#define | TF_LINEAR 2 |
#define | TF_NONE 0 |
#define | TF_POINT 1 |
#define TF_NONE 0 |
Texture filtering not used.
#define TF_POINT 1 |
Point filtering is used . The texel with coordinates nearest to the desired pixel value is used. The texture filter to be used between mipmap levels is nearest-point mipmap filtering. The rasterizer uses the color from the texel of the nearest mipmap texture.
#define TF_LINEAR 2 |
Bilinear interpolation filtering is used. A weighted average of a 2 x 2 area of texels surrounding the desired pixel is used. The texture filter to use between mipmap levels is trilinear mipmap interpolation. The rasterizer linearly interpolates pixel color, using the texels of the two nearest mipmap textures.
#define TF_ANISOTROPIC 3 |
2X anisotropic texture filtering is used. Compensates for distortion caused by the difference in angle between the texture polygon and the plane of the screen.
#define TF_ANISOTROPICX4 4 |
4X anisotropic texture filtering is used. Compensates for distortion caused by the difference in angle between the texture polygon and the plane of the screen.
#define TF_ANISOTROPICX8 5 |
8X anisotropic texture filtering is used. Compensates for distortion caused by the difference in angle between the texture polygon and the plane of the screen.
#define TF_ANISOTROPICX16 6 |
16X anisotropic texture filtering is used. Compensates for distortion caused by the difference in angle between the texture polygon and the plane of the screen.