* Docs: Add examples for the onBeforeCompile method in Material * Update Material.html * Update Material.html * Update Material.html * Update Material.html --------- Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
@@ -404,6 +404,10 @@
<p>
This callback is only supported in `WebGLRenderer` (not `WebGPURenderer`).
</p>
+ <p>
+ [example:webgl_materials_modified WebGL / materials / modified]<br />
+ [example:webgl_shadow_contact WebGL / shadow / contact]
+ </p>
<h3>
[method:undefined onBeforeRender]( [param:WebGLRenderer renderer], [param:Scene scene], [param:Camera camera], [param:BufferGeometry geometry], [param:Object3D object], [param:Group group] )
@@ -426,6 +426,10 @@
@@ -358,6 +358,10 @@
@@ -376,6 +376,10 @@
@@ -315,6 +315,10 @@
+<p>
+</p>