Package de.coreengine.rendering.model
Class Material
- java.lang.Object
-
- de.coreengine.rendering.model.Material
-
public class Material extends Object
Class that represents a material with all its maps and parameters for a mesh- Author:
- Darius Dinger
-
-
Field Summary
Fields Modifier and Type Field Description StringalphaMapAlpha map, wich contains additionally alpha informationStringambientOcclusionMapAmbient occlusion map, wich contains the ambient lighting clarification for the specific pixelstatic StringDEFAULT_NORMAL_MAPA pure blue texture (default for normal maps)ColordiffuseColorThe diffuse color describes additional color information for diffuse lightingStringdiffuseMapDiffuse map, wich contains the color information for the diffuse lighting for the specific pixelsfloatdisplacementFactorThe displacement factor describes the intensity of the parallax occlusion mappingStringdisplacementMapDisplacement map, wich contains the parallax occlusion displacement clarification for the specific pixelColorglowColorObjects glowing color (black for no glowing)StringglowMapGlowing map, wich contains, where the object glowsStringnormalMapNormal map, wich contains the normal clarification for the specific pixelsStringreflectionMapReflection cube map, that contains the reflected environmentfloatshineDampingThe shine damping describes the damping for specular lightingfloatshininessThe shininess describes the intensity of the reflecion for enviroment /* reflection and specular lightingStringspecularMapSpecular map, wich contains the specific specular lighting clarification for the specific pixelstatic StringTEXTURE_BLACKA pure black texturestatic StringTEXTURE_BLANKA pure blank/alpha texturestatic StringTEXTURE_WHITEA pure white texturefloattilingThe texture tiling, that describes the repeat of the texture
-
Constructor Summary
Constructors Constructor Description Material()
-
-
-
Field Detail
-
TEXTURE_BLACK
public static final String TEXTURE_BLACK
A pure black texture- See Also:
- Constant Field Values
-
TEXTURE_WHITE
public static final String TEXTURE_WHITE
A pure white texture- See Also:
- Constant Field Values
-
TEXTURE_BLANK
public static final String TEXTURE_BLANK
A pure blank/alpha texture- See Also:
- Constant Field Values
-
DEFAULT_NORMAL_MAP
public static final String DEFAULT_NORMAL_MAP
A pure blue texture (default for normal maps)- See Also:
- Constant Field Values
-
diffuseColor
public Color diffuseColor
The diffuse color describes additional color information for diffuse lighting
-
diffuseMap
public String diffuseMap
Diffuse map, wich contains the color information for the diffuse lighting for the specific pixels
-
normalMap
public String normalMap
Normal map, wich contains the normal clarification for the specific pixels
-
specularMap
public String specularMap
Specular map, wich contains the specific specular lighting clarification for the specific pixel
-
displacementMap
public String displacementMap
Displacement map, wich contains the parallax occlusion displacement clarification for the specific pixel
-
ambientOcclusionMap
public String ambientOcclusionMap
Ambient occlusion map, wich contains the ambient lighting clarification for the specific pixel
-
alphaMap
public String alphaMap
Alpha map, wich contains additionally alpha information
-
reflectionMap
public String reflectionMap
Reflection cube map, that contains the reflected environment
-
glowColor
public Color glowColor
Objects glowing color (black for no glowing)
-
glowMap
public String glowMap
Glowing map, wich contains, where the object glows
-
displacementFactor
public float displacementFactor
The displacement factor describes the intensity of the parallax occlusion mapping
-
tiling
public float tiling
The texture tiling, that describes the repeat of the texture
-
shininess
public float shininess
The shininess describes the intensity of the reflecion for enviroment /* reflection and specular lighting
-
shineDamping
public float shineDamping
The shine damping describes the damping for specular lighting
-
-