Sfoglia il codice sorgente

Update webgl_volume_perlin.html

Optimize refinement steps.
Michael Herzog 1 giorno fa
parent
commit
be6469cce5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      examples/webgl_volume_perlin.html

+ 1 - 1
examples/webgl_volume_perlin.html

@@ -127,7 +127,7 @@
 					uniform float steps;
 					uniform bool refine;
 
-					#define REFINEMENT_STEPS 6
+					#define REFINEMENT_STEPS 4
 
 					vec2 hitBox( vec3 orig, vec3 dir ) {
 						const vec3 box_min = vec3( - 0.5 );

粤ICP备19079148号