Revert shader code which is automatically updated...

This commit is contained in:
yutopp 2019-01-29 18:12:56 +09:00
parent ad0de15096
commit 46bfe19697

View File

@ -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);