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 materials like wood, water, glass and more.

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

Command Index

AddMaterialLayer
CopyMaterial
CountMaterialLayers
CreateAnimatedMaterial
CreateMaterial
CreateShader
CreateShaderMaterial
DisableMaterialLighting
FreeMaterial
GetMaterialAttribute
GetMaterialColor
GetScriptMaterial
IsMaterial
MaterialAnimation
MaterialBlendingMode
MaterialCullingMode
MaterialFilteringMode
MaterialFog
MaterialID
MaterialShaderAutoParameter
MaterialShaderParameter
MaterialShaderTexture
MaterialShadingMode
MaterialShininess
MaterialTextureAliases
ReloadMaterial
RemoveMaterialLayer
ResetMaterial
RotateMaterial
ScaleMaterial
ScrollMaterial
SetMaterialAttribute
SetMaterialColor

Example

Material.pb

Supported OS

All

Reference Manual - Index