12.1 Introduction to texture.c
For now, Raydium can only manipulate TGA uncompressed texture.
As explainded in the first part of this guide, Raydium provides three texture filters (none, bilinear, trilinear using
MipMaps ).
Texture sizes must be a power of two, 8 (alpha mask), 24 (RGB) or 32 (RGBA) bits.
Raydium now supports materials with a simple "rgb(r,g,b)" string as texture name, where r, g and b are 0 <= x <= 1 (floats).
Texture clamping and multitexturing are supported by Raydium, but only used internaly for now. If you're interested, have a look to source code.
Return to
RaydiumApiReference index.