From 1b87a22874e5d5ba335e9a755ed83002c91f4300 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 15 Jan 2020 18:20:31 +0100 Subject: [PATCH] adjusted sn shader --- nonisotropic.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nonisotropic.cpp b/nonisotropic.cpp index 3ad4b163..a45fb1cf 100644 --- a/nonisotropic.cpp +++ b/nonisotropic.cpp @@ -558,8 +558,8 @@ EX namespace sn { "float cy = iy*(1.-1./PRECY) + .5/PRECY;" "float cz = iz*(1.-1./PRECZ) + .5/PRECZ;" - "if(ix > .5 && iy > .6 && ix < iy + .05 && iz < .2 && iz < (iy - 0.5) * 0.6)" - "res = vec4(0.,0.,0.,1.); " + // "if(ix > .5 && iy > .6 && ix < iy + .05 && iz < .2 && iz < (iy - 0.5) * 0.6)" + "if(ix > .65 + iz * .25 && iy > .55) res = vec4(0.,0.,0.,1.); " "else "