How can I create Shader in runtime in Unity?

2.5k Views Asked by At

I want to create Shaders in Runtime in Unity. Is there any way? I found that article Creating GLSL Shaders at Runtime in Unity3D but this is no more working because Unity doesn't accept
new Material({shader_code_here});
It requires new Material(Shader.Find("{Shader name in project}");

Any help appreciated, thanks.

0

There are 0 best solutions below