fine tuning

pull/3471/head
kallaballa 2 years ago
parent 949d29b727
commit d8fc03693c
  1. 2
      src/shader/shader-demo.cpp

@ -14,7 +14,7 @@ constexpr const char* OUTPUT_FILENAME = "shader-demo.mkv";
constexpr const int VA_HW_DEVICE_INDEX = 0;
const unsigned long DIAG = hypot(double(WIDTH), double(HEIGHT));
const int kernel_size = std::max(int(DIAG / 138 % 2 == 0 ? DIAG / 138 + 1 : DIAG / 138), 1);
const int kernel_size = std::max(int(DIAG / 300 % 2 == 0 ? DIAG / 300 + 1 : DIAG / 300), 1);
//mandelbrot control parameters
float center_x_val = -0.4;

Loading…
Cancel
Save