Small World Engine API Reference - v0.46.1
    Preparing search index...

    Variable MaterialTypeConst

    MaterialType: {
        BASIC: "BasicMaterial";
        DEPTH: "DepthMaterial";
        GLASS: "GlassMaterial";
        LAMBERT: "LambertMaterial";
        LAVA: "LavaMaterial";
        PHONG: "PhongMaterial";
        RETRO_SCREEN: "RetroScreenMaterial";
        SKYBOX: "SkyboxMaterial";
        SPRITE: "SpriteMaterial";
        STANDARD: "StandardMaterial";
        TERRAIN: "TerrainMaterial";
        WIREFRAME: "WireframeMaterial";
        WORLD: "WorldMaterial";
    } = ...

    Types of materials.

    Type Declaration

    • ReadonlyBASIC: "BasicMaterial"

      Unlit basic material.

    • ReadonlyDEPTH: "DepthMaterial"

      Depth material for shadow mapping.

    • ReadonlyGLASS: "GlassMaterial"

      Physically based rendering material with transmission/refraction.

    • ReadonlyLAMBERT: "LambertMaterial"

      Lambertian diffuse material.

    • ReadonlyLAVA: "LavaMaterial"

      Specialized animated lava material.

    • ReadonlyPHONG: "PhongMaterial"

      Phong specular material.

    • ReadonlyRETRO_SCREEN: "RetroScreenMaterial"

      Specialized screen shader with retro TV and early film effects.

    • ReadonlySKYBOX: "SkyboxMaterial"

      Material for skyboxes.

    • ReadonlySPRITE: "SpriteMaterial"

      Material for sprites.

    • ReadonlySTANDARD: "StandardMaterial"

      Physically based rendering material.

    • ReadonlyTERRAIN: "TerrainMaterial"

      Specialized terrain material.

    • ReadonlyWIREFRAME: "WireframeMaterial"

      Material for wireframe rendering.

    • ReadonlyWORLD: "WorldMaterial"

      Special triplanar mapping material for seamless tiling.