diff --git a/Assets/VRM/UniGLTF/Resources/Shaders/StandardVColor.shader b/Assets/VRM/UniGLTF/Resources/Shaders/StandardVColor.shader index 2cf04f963..32de7ddb1 100644 --- a/Assets/VRM/UniGLTF/Resources/Shaders/StandardVColor.shader +++ b/Assets/VRM/UniGLTF/Resources/Shaders/StandardVColor.shader @@ -1,6 +1,4 @@ -// Upgrade NOTE: upgraded instancing buffer 'Props' to new syntax. - -Shader "UniGLTF/StandardVColor" { +Shader "UniGLTF/StandardVColor" { Properties { _Color ("Color", Color) = (1,1,1,1) _MainTex ("Albedo (RGB)", 2D) = "white" {} @@ -32,9 +30,9 @@ Shader "UniGLTF/StandardVColor" { // Add instancing support for this shader. You need to check 'Enable Instancing' on materials that use the shader. // See https://docs.unity3d.com/Manual/GPUInstancing.html for more information about instancing. // #pragma instancing_options assumeuniformscaling - UNITY_INSTANCING_BUFFER_START(Props) + UNITY_INSTANCING_CBUFFER_START(Props) // put more per-instance properties here - UNITY_INSTANCING_BUFFER_END(Props) + UNITY_INSTANCING_CBUFFER_END void vert(inout appdata_full v, out Input o){ UNITY_INITIALIZE_OUTPUT(Input, o);