A Shader defines the names and types of the attributes for a Material. There is a default Shader called which can be extended using the ShaderBuilder class.
Default shader keys:
- float type:
- bumpValue
- opacity
- reflectivity
- roughness
- shininess
- opacityMap.cutoff
- string type:
- float array type:
- ambientColor
- bumpmapTrafo
- colormapTrafo
- diffuseColor
- dirtmapTrafo
- emissiveColor
- emissivemapTrafo
- metallicmapTrafo
- normalmapTrafo
- occlusionmapTrafo
- opacitymapTrafo
- roughnessmapTrafo
- specularColor
- specularmapTrafo
- Texture array type:
- bumpMap
- diffuseMap
- emissiveMap
- metallicMap
- normalMap
- occlusionMap
- opacityMap
- roughnessMap
- specularMap
- See also
- Material, MaterialBuilder, ShaderBuilder