0 fps

Unselected

No settings tab selected.

Display


Misc


Camera


Shading


Marching


Signed Distance Function


Shape parameters

Try changing some values to see how they impact the shape of the body

Lens


Sky


Instructions

Here you can write a custom signed distance function in GLSL that describes a body. The parameters and return value type are defined here:

p parameter - a position in 3D space
return value distance from the body
uniforms.custom_a A float variable that can be changed in real time in the Ray Marching tab. There are five of them (a,b,c,d,e).

Code


Error message


Controls (PC)

Click Toggle camera control
F11 Toggle fullscreen
Up/Down arrow Change resolution

Controls (PC) (Orbit mode)

ADQE Rotate
WS Zoom
Mouse Rotate
Scroll Zoom

Controls (PC) (First person mode)

WASDQE Movement
Mouse Rotate
Scroll Change camera speed

Controls (Mobile)

Drag Rotate camera
Zoom Move foward/backward
Pan Move to the side

ERROR

This device does not support WebGL!