evankh / ScratchGraphics1

0 stars 0 forks source link

Make raymarching use local coordinates instead of global #97

Closed evankh closed 5 years ago

evankh commented 5 years ago

This should both solve the ridiculous situation of hardcoding the object's location into the shader, and allow transforms really easily. The only issue is putting the camera position into object space, but that's trivial.