Explorar el Código

fix the "MaximumRaySteps" slider

Lucas Stadler %!s(int64=10) %!d(string=hace) años
padre
commit
2279dd4646
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      glsl/raymarching.frag

+ 1 - 1
glsl/raymarching.frag

@ -18,7 +18,7 @@
18 18
19 19
#group DistranceEstimator
20 20
uniform float MinimumDistance; slider[0.0,0.01,10.0]
21
uniform int MaximumRaySteps; slider[10,0,100]
21
uniform int MaximumRaySteps; slider[0,10,100]
22 22
23 23
// Adapted with minimal changes from [1].
24 24
float trace(vec3 from, vec3 direction) {