ZGameEditor Documentation
Community |
MaterialMaterialA definition of material properties for rendered objects. See also: UseMaterial, MaterialTexture PropertiesTexturesA list of MaterialTexture - components that each represents a texture that will be blended together for the finished material. WireframeWidthThe width of lines in wireframe-mode. Default value is 4. ShadingThe style of shading that this material will use. Can have one of the following values:
Default is Smooth. ColorThe color of the material. See also RenderSetColor for an alternative of setting individual colors to models using the same material. LightIf set then the material will be lit. BlendControls the blending mode used. Can have one of the following values:
See external link: Transparency, Translucency, and Blending (OpenGL.org). ZBufferMaterial will use Z-buffer when rendering. Default is set. DrawBackFaceIf this value is set then surfaces turned away from the camera will be rendered. Set this value when rendereing transparent surfaces. Default is off. FontSet to a Font and then use RenderText to display text using the font. ShaderIf set to a Shader then the material will use the shader for fragment (pixel) and vertex processing. |