@@ -321,10 +322,10 @@ export class Material extends EventDispatcher {
/**
* An optional callback that is executed immediately before the shader program is compiled. This function is called with the shader source code as a parameter. Useful for the modification of built-in materials.
* @param shaderobject Represents the shader source code and program information.
* @param shader Source code of the shader
* @param renderer WebGLRenderer Context that is initializing the material
* In case onBeforeCompile is used, this callback can be used to identify values of settings used in onBeforeCompile, so three.js can reuse a cached shader or recompile the shader as needed.