Version: Unity 6.2 Alpha (6000.2)
Language : English
Add per-instance properties to GPU instancing shaders in the Built-In Render Pipeline
Example of a Surface Shader that supports GPU Instancing in the Built-In Render Pipeline

Examples of GPU instancing shaders in the Built-In Render Pipeline

Examples of an HLSL shaderA program that runs on the GPU. More info
See in Glossary
and a Surface ShaderA streamlined way of writing shaders for the Built-in Render Pipeline. More info
See in Glossary
that support GPU instancing.

Page Description
Example of an HLSL shader that supports GPU Instancing An example of an instanced vertex and fragment shader with different color values for each instance.
Example of a Surface Shader that supports GPU Instancing An example of a Surface Shader with different color values for each instance.
Example of changing per-instance data at runtime An example of using MaterialPropertyBlock objects to set the color property of an instanced shader.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答
Add per-instance properties to GPU instancing shaders in the Built-In Render Pipeline
Example of a Surface Shader that supports GPU Instancing in the Built-In Render Pipeline
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961