Defines all possible shader options entries of a Material

interface MaterialShaders {
    vertex?: ShaderOptions;
    fragment?: boolean | ShaderOptions;
    compute?: ShaderOptions;
}

Properties

vertex?: ShaderOptions
fragment?: boolean | ShaderOptions

Fragment shader options. Could be set to false to only render to a depth texture.

compute?: ShaderOptions