@@ -266,6 +267,13 @@ export class Material extends EventDispatcher {
*/
dispose():void;
/**
* 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 shader Source code of the shader
* @param renderer WebGLRenderer Context that is initializing the material