gDPSetTextureDetail.3p 1.01 KB
.TH gDPSetTextureDetail 3P local "Silicon Graphics, Inc."
.SH NAME
.upperok
gDPSetTextureDetail, gsDPSetTextureDetail
\- enable and disable for detailed textures.
.SH C SPECIFICATION
.nf
\f3#include "gbi.h"

gDPSetTextureDetail(Gfx *gdl, unsigned int type)

gsDPSetTextureDetail(unsigned int type)

\fP
.fi
.SH PARAMETERS
.TP 10
.I *gdl
graphics display list pointer.
.TP
.I type
\f3G_TD_CLAMP, G_TD_SHARPEN,\fP
or
\f3G_TD_DETAIL.\fP
.SH DESCRIPTION
The RDP has several texture sampling modes when LOD < 1.0 or magnifying.
.PP
\f3G_TD_CLAMP\fP just uses the highest level of detail tile of the multiple tile texture.
.PP
\f3G_TD_SHARPEN\fP extrapolates the texture from the 2 highest level of detail tiles.
This has the effect of making the texture appear sharper when magnifying.
.PP
\f3G_TD_DETAIL\fP adds details as the highest level of detail starts getting blurry due to magnification.
The amount of detail textures used is clamped by the minimum LOD clamp value in the CC primitive color.
.SH SEE ALSO
.IR gDPSetPrimColor (3P)