diff --git a/shaders/raymarcher.glsl b/shaders/raymarcher.glsl index 6fd1ead..3b0d922 100644 --- a/shaders/raymarcher.glsl +++ b/shaders/raymarcher.glsl @@ -3,7 +3,7 @@ vec3 getNormal( vec3 pos ) vec2 v = vec2( .0005 , 0 ); return normalize( vec3( map( pos + v.xyy ).x - map( pos - v.xyy ).x , - map( pos + v.yxy ).x - map( pos - v.xyx ).x , + map( pos + v.yxy ).x - map( pos - v.yxy ).x , map( pos + v.yyx ).x - map( pos - v.yyx ).x ) ); }