API

Class RSMCreatePluginMaterial

Plugin that implements the creation of the RSM textures

Hierarchy (View Summary)

Index
light: any

Defines the light that should be used to generate the RSM textures.

Name: "RSMCreate"

Defines the name of the plugin.

isEnabled: boolean

Defines if the plugin is enabled in the material.

  • Gets custom shader code for the plugin

    Parameters

    • shaderType: string

      the type of shader (vertex or fragment)

    • shaderLanguage: ShaderLanguage

      the shader language

    Returns Nullable<{ [pointName: string]: string }>

    the custom shader code or null