MaterialSupport
Determines the type of Material that is supported by a MaterialAppearance instance. This is a trade-off between flexibility (a wide array of materials) and memory/performance (required vertex format and GLSL shader complexity.
Members
-
<static, readonly> ALL
-
All materials, including those that work in tangent space, are supported. This requires
position
,normal
,st
,binormal
, andtangent
vertex attributes. -
<static, readonly> BASIC
-
Only basic materials, which require just
position
andnormal
vertex attributes, are supported. -
<static, readonly> TEXTURED
-
Materials with textures, which require
position
,normal
, andst
vertex attributes, are supported. The vast majority of materials fall into this category.