Moved some smoothing options into smooth_parameters.glsl instead of residing in module configs
This commit is contained in:
4
render.c
4
render.c
@@ -672,9 +672,9 @@ struct renderer* rd_new(const char** paths, const char* entry, const char* force
|
||||
.ur = 1.0F,
|
||||
.print_fps = true,
|
||||
.bufscale = 1,
|
||||
.avg_frames = 4,
|
||||
.avg_frames = 6,
|
||||
.avg_window = true,
|
||||
.gravity_step = 0.1,
|
||||
.gravity_step = 4.2,
|
||||
.interpolate = true,
|
||||
.force_geometry = false,
|
||||
.smooth_distance = 0.01,
|
||||
|
||||
@@ -20,13 +20,3 @@
|
||||
#define INVERT 0
|
||||
/* Smoothing factor, in normalized width */
|
||||
#define SMOOTH 0.025
|
||||
/* How many frames to queue and run through the average function */
|
||||
#request setavgframes 6
|
||||
/* Whether to window frames ran through the average function (new & old frames
|
||||
are weighted less). This massively helps smoothing out spikes in the animation */
|
||||
#request setavgwindow true
|
||||
/* Gravity step, higher values means faster drops. The step is applied in a rate
|
||||
independant method like so:
|
||||
|
||||
val -= (gravitystep) * (seconds per update) */
|
||||
#request setgravitystep 4.2
|
||||
|
||||
Reference in New Issue
Block a user