mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
Fixed tex3d preview shader
This commit is contained in:
parent
a0e5ad18b6
commit
09b3aff5ff
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user