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() must be called successfully before using the Material functions.

Command Index

AddMaterialLayer
CopyMaterial
CountMaterialLayers
CreateMaterial
DisableMaterialLighting
FreeMaterial
GetMaterialAttribute
GetMaterialColor
GetScriptMaterial
IsMaterial
MaterialBlendingMode
MaterialCullingMode
MaterialFilteringMode
MaterialFog
MaterialID
MaterialShadingMode
MaterialShininess
MaterialTextureAliases
ReloadMaterial
RemoveMaterialLayer
ResetMaterial
RotateMaterial
ScaleMaterial
ScrollMaterial
SetMaterialAttribute
SetMaterialColor

Example

Material.pb

Supported OS

All

Reference Manual - Index