Fixed tex3d preview shader

This commit is contained in:
RodZill4 2020-02-25 06:17:51 +01:00
parent a0e5ad18b6
commit 09b3aff5ff

View File

@ -9,7 +9,7 @@ vec3 calcColor(vec4 uv) {
float raymarch(vec3 ro, vec3 rd) {
float d=0.0;
for (int i = 0; i < 50; i++) {
for (int i = 0; i < 200; i++) {
vec3 p = ro + rd*d;
float dstep = calcdist(p);
d += dstep;