AutoMovie API
    Preparing search index...

    Variable createReliefWeightShaderPatchConst

    createReliefWeightShaderPatch: () => {
        apply: (
            shader: Pick<
                THREE.WebGLProgramParametersWithUniforms,
                "vertexShader"
                | "fragmentShader"
                | "uniforms",
            >,
        ) => void;
        key: string;
    } = ...

    One relief-weight operation for the material compile hook. The callback changes only the vertex and fragment source; uniforms and the native program configuration remain with the caller and other registered operations.

    Type Declaration

      • (): {
            apply: (
                shader: Pick<
                    THREE.WebGLProgramParametersWithUniforms,
                    "vertexShader"
                    | "fragmentShader"
                    | "uniforms",
                >,
            ) => void;
            key: string;
        }
      • Returns {
            apply: (
                shader: Pick<
                    THREE.WebGLProgramParametersWithUniforms,
                    "vertexShader"
                    | "fragmentShader"
                    | "uniforms",
                >,
            ) => void;
            key: string;
        }

        • apply: (
              shader: Pick<
                  THREE.WebGLProgramParametersWithUniforms,
                  "vertexShader"
                  | "fragmentShader"
                  | "uniforms",
              >,
          ) => void

          Adds relief interpolation and base-normal modulation to shader source.

        • key: string

          Stable program-cache contribution for this operation.