Skip to content

Commit

Permalink
Remove experimental sdf
Browse files Browse the repository at this point in the history
  • Loading branch information
gustafla committed Feb 4, 2024
1 parent 4439dd2 commit 1b922c0
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions shaders/shader.frag
Original file line number Diff line number Diff line change
Expand Up @@ -113,18 +113,6 @@ vec2 sdMtn(vec3 p) {
return vec2(sdPlaneXZ(p), stripes + 1.);
}

vec2 sdFarjan(vec3 p) {
p -= vec3(40., 0., 0.);
return vec2(
max(
max(
sdSphere(p - vec3(70, 0, 0), 60.),
sdSphere(p, 60.)
),
sdPlaneXZ(p - vec3(0., 10., 0.))
), 3.);
}

vec2 sdBuoy(vec3 p, float f) {
return opUnion(
vec2(sdSphere(p, 5.), 3.),
Expand Down

0 comments on commit 1b922c0

Please sign in to comment.