PureBasic - Material

Overview

Materials are composed of one or several textures and sometimes of some colors. They are widely used by the other objects of the 3D world like the entities, billboards and particles to give them a skin.

Each material has a lot a properties like the shading, ambient and specular color, etc. to allow realistic looking material like wood, water, glass and more.

InitEngine3D() should be called successfully before using the Material functions.

Command Index

AddMaterialLayer
CopyMaterial
CountMaterialLayers
CreateMaterial
DisableMaterialLighting
FreeMaterial
IsMaterial
MaterialAmbientColor
MaterialBlendingMode
MaterialDiffuseColor
MaterialFilteringMode
MaterialID
MaterialShadingMode
MaterialSpecularColor
RemoveMaterialLayer
RotateMaterial
ScrollMaterial

Example

Material.pb

Supported OS

All

Reference Manual - Index