Any way to change velocity in Node Material? (global velocity texture)

Hello!

I can not find any output node for the Velocity in the Babylonjs Node Material Editor.

I need it because I animate the vertex and the velocity breaks.

Is there any way I can fix that?

This PR will let you write to the velocity texture of the prepass renderer:

You will have to write to the “velocity” or “velocityLinear” input of the PrePassOutput block. For an example on how to use the PrePassOutput block for SSR, see If SSR suppport nm now? - #3 by Evgeni_Popov.

2 Likes