#ifndef POICLUDES #define POICLUDES #include "PoiData.cginc" #include "UnityCG.cginc" #include "Lighting.cginc" #include "UnityPBSLighting.cginc" #include "AutoLight.cginc" //Structs struct appdata { float4 vertex: POSITION; float3 normal: NORMAL; float4 tangent: TANGENT; float2 texcoord: TEXCOORD0; float2 texcoord1: TEXCOORD1; uint vertexId : SV_VertexID; UNITY_VERTEX_INPUT_INSTANCE_ID }; struct v2f { float2 uv: TEXCOORD0; float3 normal: TEXCOORD1; #if defined(BINORMAL_PER_FRAGMENT) float4 tangent: TEXCOORD2; #else float3 tangent: TEXCOORD2; float3 binormal: TEXCOORD3; #endif float4 pos: SV_POSITION; float4 worldPos: TEXCOORD4; float4 localPos: TEXCOORD5; UNITY_VERTEX_INPUT_INSTANCE_ID UNITY_VERTEX_OUTPUT_STEREO UNITY_SHADOW_COORDS(7) UNITY_FOG_COORDS(8) uint vertexId: TEXCOORD9; }; static PoiLighting poiLight; float3 baseNormal; #define pi float(3.14159265359) #endif