当前位置:网站首页>What are the advantages and disadvantages of Unity shader forge and the built-in shader graph?

What are the advantages and disadvantages of Unity shader forge and the built-in shader graph?

2022-07-31 04:55:00 Clank's Game Stack

shader forge/shader graph is Unity's Shader graphical programming tool.Shader forge is relatively old and is a third-party plugin,

Not suitable for Unity's lightweight rendering pipeline, high-definition rendering pipeline, etc.So slowly follow-up will switch to shade graph.

Next, I will focus on the advantages and disadvantages of shader graph:

Advantages: The visualization has done a lot of shader tools, just drag it in graphically, and you can see the shader effect soon;

Disadvantages:

For beginners, the graphical tool shade graph does not reduce the difficulty of your shader development,

It is still necessary to get the basic underlying principles in order to write a good shader, so it is recommended for shader beginners,

Use handwritten code to learn shader first, and then use shader graph appropriately in later work.

Shader graph is a visual tool that automatically generates shader code after all, and the generated shader code may not perform well.

This is especially obvious in the shader forge. After the effect is made, the generated code is often opened to check the efficiency of the shader.

So from the perspective of a game development veteran, it is recommended that you write shaders by hand, and use the shader development tools for graphics after you have laid a solid foundation.

Here is a unity study group Everyone can learn and communicate together

原网站

版权声明
本文为[Clank's Game Stack]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/212/202207310441467947.html