Defines all possible shader options entries of a Material

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

Properties

vertex?: ShaderOptions
fragment?: false | ShaderOptions

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

compute?: ShaderOptions