API

Class GIRSMRenderPluginMaterial

Plugin used to render the global illumination contribution.

Hierarchy (View Summary)

Index
outputTextureHeight: number

The height of the output texture.

outputTextureWidth: number

The width of the output texture.

textureGIContrib: InternalTexture

The texture containing the global illumination contribution.

Name: "GIRSMRender"

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 { [name: string]: string } | null

    the custom shader code