0

(Unity version 2020.3.27f1)

Hello, I have created a gerstner wave shader for my game, but after exporting the game to Xbox X and trying it out, it is incredibly slow, getting 5-10 fps. Disabling the waves and exporting to Xbox gets me back to 60 fps. As I am using URP, I am using the unity shader graph for my shader.

I have also tried disabling parts of my shader one by one, but the only thing that seems to bring the FPS back to 60 is slapping a regular material onto the sea.

Theoretically, the graphics card on my computer should be slower than the Xbox X GPU, so I don't understand where the performance drop is, as it runs fine both in editor and when exported for PC.

Has anyone else had issues with shader graph performance on consoles, or could you recommend alternative ideas?

2
  • Shader Graph is nothing more than a means to create shaders not a mechanism by which visuals are executed at runtime. Commented Nov 24, 2022 at 23:38
  • Try downloading the famous Unity Boat Attack sample from GitHub, building and deploying to Xbox X. It too is using the URP and contains some mighty impressive water effects. Commented Nov 24, 2022 at 23:50

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.