This assume you already have the algorithms implemented in a fragment shader. I will use GLSL, but one can easily just switch to HLSL for DX pipeline. Animation and movement Rotate a plane vec3 planeOrientation = vec3(0.0, 1.0, 0.0);float planeH = dot(pos, normalize(planeOrientation));float box = sdBox(pos + vec3(1., -1.5, 0.), Continue Reading