csgfx/bumpmap.h File Reference
More...
#include "cstypes.h"
Go to the source code of this file.
Compounds | |
class | csBumpMap |
A class representing a bumpmap. More... | |
Bumpmap formats | |
The different hardware and software renderers may require the bumpmap to be in a different format.
They should all be convertible from the height-map data. | |
#define | CS_BUMPFMT_HEIGHT_8 0x01 |
The height of each bump is stored in 8 bits. 255 = high, 0 = low. | |
#define | CS_BUMPFMT_SLOPE_44 0x02 |
(For software renderer) The slope in x and y are stored in the first 4 and last 4 bits of each byte. |
Detailed Description
Definition in file bumpmap.h.
Define Documentation
|
The height of each bump is stored in 8 bits. 255 = high, 0 = low.
|
|
(For software renderer) The slope in x and y are stored in the first 4 and last 4 bits of each byte.
|
Generated for Crystal Space by doxygen 1.2.18