I made a basic 2D and 3D raymarcher in GLSL with OpenGL and C++ for fun.
Input | Action |
---|---|
WASD | Move |
RMB + Drag | Move |
LMB | Show distance to mouse |
Scroll | Zoom |
Input | Action |
---|---|
WASD | Move on horizontal plane |
Left Shift | Move down |
Space | Move up |
RMB + Drag | Rotate camera |
2D Blending:
2D Repetition:
Sierpinski triangle:
Menger carpet:
Cantor dust 2D:
3D Blending:
3D Repetition:
Menger sponge:
Cantor Dust 3D: