Is the vertex movement in simple displacement shader framerate independent?

Hello I am enjoying the course and had a quick question. In this lecture we have created a shader that moves the vertices of an object over time. I am wondering if this movement is framerate independent or if it will move at different speeds based on a computer’s hardware. I know we are using a movement speed value to control the speed, but we are using Time instead of deltaTime so I do not believe it will scale the movement based on the length of a frame.

As the Time is the result of the accumulated effects of deltaTime, this should remain framerate independent. Bear in mind that on older video cards or very low video memory you can still find yourself with poor frame rates.

2 Likes

Thank you for explaining that!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms