Browse Source

Update webgl_materials_nodes.html

Michael Herzog 3 years ago
parent
commit
557fd10bc5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      examples/webgl_materials_nodes.html

+ 1 - 0
examples/webgl_materials_nodes.html

@@ -1874,6 +1874,7 @@
 							"}"
 							"}"
 						].join( "\n" ) );
 						].join( "\n" ) );
 
 
+						// Based off of iq's described here: https://www.iquilezles.org/www/articles/voronoilines/voronoilines.htm
 						var voronoi = new Nodes.FunctionNode( [
 						var voronoi = new Nodes.FunctionNode( [
 							"float voronoi(vec2 p, in float time) {",
 							"float voronoi(vec2 p, in float time) {",
 							"	vec2 n = floor(p);",
 							"	vec2 n = floor(p);",