From 46bfe19697678fc95e99b19f47e1221bbdadc1c2 Mon Sep 17 00:00:00 2001 From: yutopp Date: Tue, 29 Jan 2019 18:12:56 +0900 Subject: [PATCH] Revert shader code which is automatically updated... --- .../VRM/UniGLTF/Resources/Shaders/StandardVColor.shader | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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);