Textures (Rob Laddish)
The graphics are vastly improved with textures. Instead of a solid brown color for
the sides of the table (or even silver with lighting) we have a deluxe marble surface.
Textures allow us to paint the numbers and stripes easily onto the pool balls.
(Pool balls were done by Alan)
Problems Encountered
None.
Related config file parameters: (the config file explains them better)
- textenv type r,g,b,a. Like lighting, textures need a texture environment
to be defined in order to use textures. Type should be one of the following
strings: modulate, blend, or decal. The default is modulate. The rgba values
are used for blending modes.
- texture num nc w,h mult filename format min max wrap This binds the
texture specified to the texture index specified by num. Each object has a
config line, and a spot to enter a texture number. They can use texture 0 to
define no texture for an object. Please see the config file for a full
expanation of each parameter & list of filetypes supported.
- use_texture num This defines the texture mode. Set num=0 to turn it off,
or set num>0 or do not specify num to turn textures on. Textures are on by
default, and they can be turned on/off by the user during run time.
See Also: