Texture Wrapping - Fujitsu MB86R02 Jade-D Hardware Manual

Graphics controller
Hide thumbs Also See for MB86R02 Jade-D:
Table of Contents

Advertisement

MB86R02 'Jade-D' Hardware Manual V1.64
18.10.4.3

Texture Wrapping

If a negative or larger than the specified texture pattern size is specified as the texture coordinates (S,
T), according to the setting, one of these options (repeat, cramp or border) is selected for the 'out-of-
range' texture mapping. The mapping image for each case is shown below:
Repeat
This just simply masks the upper bits of the applied (S, T) coordinates. When the texture pattern
size is 64 × 64 pixels, the lower 6 bits of the integer part of (S, T) coordinates are used for S and T
coordinates.
Cramp
When the applied (S, T) coordinates is either negative or larger than the specified texture pattern
size, cramp the (S, T) coordinate as follows instead of texture:
S < 0
S > Texture X size − 1
Border
When the applied (S, T) coordinate is either negative or larger than the specified texture pattern
size, the outside of the specified texture pattern is rendered in the 'border' color.
18-156
S = 0
S = Texture X size − 1

Advertisement

Table of Contents
loading

Table of Contents