Skip to content
Snippets Groups Projects
Commit f812cd7c authored by Alexander Gauggel's avatar Alexander Gauggel
Browse files

[#106] Tuned motion blur settings slightly

parent b45b3203
No related branches found
No related tags found
1 merge request!89Resolve "Indirect Dispatch"
#ifndef MOTION_BLUR_CONFIG
#define MOTION_BLUR_CONFIG
const int motionTileSize = 24;
const int motionTileSize = 16;
const int maxMotionBlurWidth = 3840;
const int maxMotionBlurHeight = 2160;
......
......@@ -92,7 +92,7 @@ void App::run() {
float objectRotationSpeedY = 5;
int cameraShutterSpeedInverse = 24;
float motionVectorVisualisationRange = 0.008;
float motionBlurFastPathThreshold = 2;
float motionBlurFastPathThreshold = 1;
glm::mat4 viewProjection = m_cameraManager.getActiveCamera().getMVP();
glm::mat4 viewProjectionPrevious = m_cameraManager.getActiveCamera().getMVP();
......
......@@ -4,7 +4,7 @@
namespace MotionBlurConfig {
const vk::Format motionVectorTileFormat = vk::Format::eR16G16Sfloat;
const vk::Format outputColorFormat = vk::Format::eB10G11R11UfloatPack32;
const uint32_t maxMotionTileSize = 24; // must match "motionTileSize" in motionBlurConfig.inc
const uint32_t maxMotionTileSize = 16; // must match "motionTileSize" in motionBlurConfig.inc
const uint32_t maxWidth = 3840;
const uint32_t maxHeight = 2160;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment