blob: 16f744576f8482d93741dc1f0b3509af2c34632e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
mouse-sensitivity 50
# you can set this to 0.5 to render the SDF at half resolution for example
# (e.g. the SDF will be rendered at 960x540 on a 1080p monitor)
# making this lower will increase performance significantly, but will look more pixelated
scale 1
# complexity of SDF
# making this bigger will make more complex scenes, but will require more gpu computation
sdf-length 600
# complexity of color function
# making this bigger will make more complex colors, but will require more gpu computation
color-length 300
# max raymarching iterations
# making this bigger will make boundaries less "blurry", but will require more gpu computation
max-iterations 30
# raymarching distance threshold
# (how close to distance 0 should the SDF get before we draw?)
distance-threshold 0.02
# antialiasing factors
# e.g. use 2 for 2x2 MSAA
# this will make the scene look a bit nicer, but will require MUCH MORE gpu computation.
antialiasing 1
# focal length in "meters"
focal-length 1
# field of view in degrees
fov 45
# set this to 1 to use HSV instead of RGB for color
hsv 0
# framerate cap.
# by default, vsync is enabled, so you don't need to change this unless you want
# to run at an even lower framerate than your monitor's refresh rate
max-framerate 1000
|