Handbook
Glossary
material
Vocabulary
game
.
models
.
obj
.
private
Class description
Tuple describing the GPU state that needs to be applied prior to rendering geometry tagged with this material.
Definition
IN:
game.models.obj.private
TUPLE:
material
name
{
ambient-reflectivity
initial:
{
1.0 1.0 1.0
}
}
{
diffuse-reflectivity
initial:
{
1.0 1.0 1.0
}
}
{
specular-reflectivity
initial:
{
1.0 1.0 1.0
}
}
{
transmission-filter
initial:
{
1.0 1.0 1.0
}
}
{
dissolve
initial:
1.0
}
{
specular-exponent
initial:
10.0
}
{
refraction-index
initial:
1.5
}
ambient-map diffuse-map
specular-map specular-exponent-map dissolve-map
displacement-map bump-map reflection-map
;