Shader that uses the velocity of the SurfaceOutput

Hello,

I’m new in this (nice) forum!
I’m trying to write a shader that would be able to render what the bats see… Bats have something like a radar that makes them possible to see the velocity of the objects (a fly or a mosquito) that are around them.
So, the question is: is it possible to access to the velocity of the SurfaceOutput (like SurfaceOutput.Normal for the normal vector)?

Thank you!

Christophe

There is no velocity in shaders. Shaders render static picture.
You’d need to make a variable in shader you’d fill in from actual velocity by modifying Material properties and then use it in shader.

Thank you! I will try it, I did not think to that solution…