*BeginMaterial()

Indicates the beginning of a material block.

Syntax

*BeginMaterial()

Application

HyperView

Context

*BeginPalette()

Preference Files

Example

*BeginPalette()
	*BeginMaterial()
		*Name("blue green")
		*Emission(0, 0, 0)
		*Ambient(0, 0.46118, 0.6)
		*Diffuse(0, 0.76863, 1)
		*Specular(0, 0, 0)
		*Shininess(0)
		*Alpha(1)
             *Metallic(10.5)
             *Roughness(25.5)
	*EndMaterial() 
*EndPalette()

Comments

Material blocks specify the material name and lighting attributes.

Every *BeginMaterial() statement requires a closing *EndMaterial() statement.