Major Lag with Shader on Android

I have a fairly basic shader, I made it following Unity’s 2D shader tutorial, with a few minor adjustments. But when I tested it on my phone, I probably get 10fps, if even. Here’s my shader graph

It’s only really 2 noise textures and a main texture. It could very well be just because my phone is terrible lol, it runs just fine on my friend’s phone, but does anyone have any ideas on how to improve performance, preferably without lower the quality of the shader? I tried disconnecting some parts, the main lag seems to be coming from the bottom set, with the simple noise, but even with it disabled it doesn’t improve performance too much. I’ve tried going through and disabling/enabling specific nodes, it seems to be causing lag no matter what I do, but if I remove the background(which the shader is attached to) it runs fine.

Thanks

Same problem here, I think Android doesn’t like procedurally generated noises

It’s not about Android not liking stuff, it’s about this stuff being fairly performance intensive and I doubt the shader graph generates optimal “cheat-y” code to make this stuff viable on mobile.

1 Like