Shader Performance Measurement Part 2 Shader Graph Basics Episode 22
In this shader tutorial, I show the most accurate way to measure shader performance with Unreal 5 and Unity by running the shader on the target hardware. First I show how to create a very simple test scene with just a camera pointed at a flat plane with the shader applied. Then I show how to build the scene so it can run outside the editor. And finally, we run the scene and measure how long it takes to render using either a framerate counter or Microsoft PIX. Measuring how long it takes to render works best if you can do it on the hardware that your game will ship on. Creating a build of your simple project in Unreal 5 requires a couple of extra steps that can be found in these two links: If you d like to add a framerate counter to your project, you can use these links to learn how to do it: Unreal:
|
|