Skip to content

Astral-Sheep/Raymarcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GLSL Raymarcher

I made a basic 2D and 3D raymarcher in GLSL with OpenGL and C for fun.

Controls

2D:

Input Action
WASD Move
RMB Drag Move
LMB Show distance to mouse
Scroll Zoom

3D:

Input Action
WASD Move on horizontal plane
Left Shift Move down
Space Move up
RMB Drag Rotate camera

Screenshots

2D Blending:

Blending 2D

2D Repetition:

Repetition 2D

Sierpinski triangle:

Sierpinski Triangle

Menger carpet:

Menger Carpet

Cantor dust 2D:

Cantor Dust 2D

3D Blending:

Blending 3D

3D Repetition:

Repetition 3D

Menger sponge:

Menger Sponge

Cantor Dust 3D:

Cantor Dust 3D