GLBasic User Manual

Main sections


X_SETTEXTURE n#, nbump#

Uses a sprite image loaded with LOADSPRITE as the current texture. The current texture will be used for the texturing of any subsequent 3D objects. n# = -1 indicates no texture should be used.
The parameter nbump# specifies which normal map should be used for Dot3 Bump Mapping. The normal map can be created using LOADBUMPTEXTURE instead of LOADSPRITE. A value of -1 specifies that no bump mapping should be performed.

See sample: PaperPlanes2 in 3D samples

See also...