It doesn't. Every frame is drawn to a render target anyway, with a alpha value of 1.0, so doing so with lower alpha's doeasn't affect the render rate.
kool effects dude, i want to do some sort of tech demo for my diseertation next year using shaders (hopefully geometry shaders fingers crossed!) how do u do the motion blur it looks kool
Its done by rendering to a render target each frame, but rather than drawing each frame with an alpha value of 1.0, the alpha value is reduced meaning the previous frames take a while to fade out fully.
The motion blur and depth of field effect look great! I plan to implement motion blur too. How much does it hit the performance in your demo?
dp2208 3 years ago
It doesn't. Every frame is drawn to a render target anyway, with a alpha value of 1.0, so doing so with lower alpha's doeasn't affect the render rate.
TS2Master 3 years ago
kool effects dude, i want to do some sort of tech demo for my diseertation next year using shaders (hopefully geometry shaders fingers crossed!) how do u do the motion blur it looks kool
dannyormisher 3 years ago
Its done by rendering to a render target each frame, but rather than drawing each frame with an alpha value of 1.0, the alpha value is reduced meaning the previous frames take a while to fade out fully.
Hope that helps,
Pete.
TS2Master 3 years ago