Fix BasicMotionBlur (Pseudo Motion Blur) shader to use scaled depth parameters

  • sheno1346
  • Topic Author
More
3 years 8 months ago - 3 years 8 months ago #1 by sheno1346 Fix BasicMotionBlur (Pseudo Motion Blur) shader to use scaled depth parameters was created by sheno1346
BlueSkyDefender's BasicMotionBlur looks great, but it is a bit older and does not use the settings in global preprocessor definitions (I prefer it to his newer eMotionBlur shader, looks better imo), and it doesn't provide any built in depth map resizing options, so there is no way to resize a badly scaled depth buffer for it.

Could someone fix this so that it does?

Here is what happens with it right now. In Vanquish, I had to rescale the depth buffer using global preprocessor definitions because it compresses into the top left for some reason, but the shader does not use the fixed depth scale values so it is stuck in the top left.

Shader Download: drive.google.com/file/d/1ucpGO-inXOl7_Cj...QK-/view?usp=sharing



Last edit: 3 years 8 months ago by sheno1346.

Please Log in or Create an account to join the conversation.

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.