omega-game-engine
    Preparing search index...

    Represents a material that responds to lighting, including properties for specular highlights and normal mapping. *

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Constructors

    Properties

    _className: string = "LitMaterial"
    _serializationIgnoreKeys: string[]
    _uuid: string
    aoTex?: Texture
    color: Color = ...

    The color of the material. *

    emissiveTex?: Texture
    mainTex: Texture

    The main texture object. *

    name: string = ''
    normalMapStrength: number = 0.1

    The intensity of the normal map effect. *

    normalTex?: Texture

    The normal map texture object. *

    roughness: number = 0.01

    The roughness of the material's surface, affecting the size of specular highlights. *

    roughnessTex?: Texture
    specularStrength: number = 0.5

    The strength of specular highlights. *

    specularTex?: Texture
    uvOffset: Vector2 = ...

    The UV offset for the main texture. *

    uvScale: Vector2 = ...

    The UV scaling factor for the main texture. *

    Accessors

    Methods