Kerby64
    Preparing search index...

    ToonMaterial is a custom shader material for rendering objects with a toon shading effect.
    It supports directional lights, texture or color input, and various material properties.
    It also handles shadow mapping if a shadow generator is present in the scene. (wip)

    Hierarchy

    • ShaderMaterial
      • ToonMaterial
    Index

    Constructors

    • Parameters

      • name: string
      • textureOrColor: BaseTexture | Color3
      • scene: Scene

      Returns ToonMaterial

    Properties

    lightsBuffer: StorageBuffer

    Methods