//--FOV-- CRC32: F1CE61DD |    Unity headers extracted from SharingPawn.shader
//    Shader "Amplitude/Characters/SharingPawn" {
//      Properties {
//       _Color ("Main Color", Color) = (1,1,1,1)
//       _Shininess ("Shininess", Range(0.01,1)) = 0.078125
//       _MainTex ("Base (RGB) TransGloss (A)", 2D) = "white" { }
//       _Cutoff ("Alpha cutoff", Range(0.03,1)) = 0.5
//       _WinterSensitivity ("Summer, Winter, WinterIntensity, Fow intensity", Vector) = (1,1,1,1)
//       _ViewSensitivity ("3D, Battle, 2D, Empire", Vector) = (1,0,1,0)
//      }
//      Fallback Off
//      SubShader 1/1 {
//        Tags { "QUEUE"="Transparent" "RenderType"="Transparent" }
//        Pass 1/2 {
//          Name "FORWARD"
//          Tags { "LIGHTMODE"="ForwardBase" "QUEUE"="Transparent" "RenderType"="Transparent" }
//          ZWrite Off
//          Blend SrcAlpha OneMinusSrcAlpha
//          ColorMask RGB
//          Offset -1, -1
//          GpuProgramID 16771
//          Program "vp" {
//            SubProgram "d3d9 " {
//              GpuProgramIndex 1
//            }
//          }
//        }
//      }
//    }
//
// Unity 5.3 headers extracted from SharingPawn.shader.decompressed:
//   API d3d9
//   Shader model vs_3_0
//   undeciphered1: 156 2 -1
//   Keywords { "DIRECTIONAL" "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" "DYNAMICLIGHTMAP_OFF" "VERTEXLIGHT_ON" "DEFAULT_RENDERER" "CAMOUFLAGE_OFF" }
//   undeciphered3: 11 3 0 0 1 2 3 4 1
//   Vector 28 [_MainTex_ST]
//   Vector 26 [_SecondHexaTextureLookup_TexelSize]
//   Vector 27 [_WorldSize]
//   Vector 17 [unity_4LightAtten0]
//   Vector 14 [unity_4LightPosX0]
//   Vector 15 [unity_4LightPosY0]
//   Vector 16 [unity_4LightPosZ0]
//   Vector 25 [unity_ColorSpaceLuminance]
//   Vector 0 [unity_LightColor0]
//   Vector 1 [unity_LightColor1]
//   Vector 2 [unity_LightColor2]
//   Vector 3 [unity_LightColor3]
//   Vector 20 [unity_SHAb]
//   Vector 19 [unity_SHAg]
//   Vector 18 [unity_SHAr]
//   Vector 23 [unity_SHBb]
//   Vector 22 [unity_SHBg]
//   Vector 21 [unity_SHBr]
//   Vector 24 [unity_SHC]
//   Matrix 8 [_Object2World] 3
//   Matrix 11 [_World2Object] 3
//   Matrix 4 [glstate_matrix_mvp]
//   SetTexture 0 [_SecondHexaTextureLookup] 2D 0
//
// Headers extracted with DarkStarSword's extract_unity53_shaders.py
// https://raw.githubusercontent.com/DarkStarSword/3d-fixes/master/extract_unity53_shaders.py

//
// Generated by Microsoft (R) HLSL Shader Compiler 6.3.9600.16384
//   using 3Dmigoto command line v1.2.38 on Sun Oct 16 02:25:56 2016
//
//
// Parameters:
//
//   float4 _MainTex_ST;
//   row_major float4x4 _Object2World;
//   sampler2D _SecondHexaTextureLookup;
//   float4 _SecondHexaTextureLookup_TexelSize;
//   row_major float4x4 _World2Object;
//   float4 _WorldSize;
//   row_major float4x4 glstate_matrix_mvp;
//   float4 unity_4LightAtten0;
//   float4 unity_4LightPosX0;
//   float4 unity_4LightPosY0;
//   float4 unity_4LightPosZ0;
//   float4 unity_ColorSpaceLuminance;
//   float4 unity_LightColor[8];
//   float4 unity_SHAb;
//   float4 unity_SHAg;
//   float4 unity_SHAr;
//   float4 unity_SHBb;
//   float4 unity_SHBg;
//   float4 unity_SHBr;
//   float4 unity_SHC;
//
//
// Registers:
//
//   Name                               Reg   Size
//   ---------------------------------- ----- ----
//   unity_LightColor                   c0       4
//   glstate_matrix_mvp                 c4       4
//   _Object2World                      c8       3
//   _World2Object                      c11      3
//   unity_4LightPosX0                  c14      1
//   unity_4LightPosY0                  c15      1
//   unity_4LightPosZ0                  c16      1
//   unity_4LightAtten0                 c17      1
//   unity_SHAr                         c18      1
//   unity_SHAg                         c19      1
//   unity_SHAb                         c20      1
//   unity_SHBr                         c21      1
//   unity_SHBg                         c22      1
//   unity_SHBb                         c23      1
//   unity_SHC                          c24      1
//   unity_ColorSpaceLuminance          c25      1
//   _SecondHexaTextureLookup_TexelSize c26      1
//   _WorldSize                         c27      1
//   _MainTex_ST                        c28      1
//   _SecondHexaTextureLookup           s0       1
//

    vs_3_0
    def c29, -0.666666687, -0.5, 0.5, 1
    def c30, 0, 0.416666657, 1.05499995, -0.0549999997
    dcl_position v0
    dcl_normal v1
    dcl_texcoord v2
    dcl_2d s0
    dcl_position o0
    dcl_texcoord o1.xy
    dcl_texcoord1 o2.xyz
    dcl_texcoord2 o3.xyz
    dcl_texcoord3 o4.xyz
    dcl_texcoord4 o5.xyz
    dcl_texcoord6 o6
    dp4 o0.x, c4, v0
    dp4 o0.y, c5, v0
    dp4 o0.z, c6, v0
    dp4 o0.w, c7, v0
    mad o1.xy, v2, c28, c28.zwzw
    mul r0.xyz, c12, v1.y
    mad r0.xyz, c11, v1.x, r0
    mad r0.xyz, c13, v1.z, r0
    nrm r1.xyz, r0
    mul r0.x, r1.y, r1.y
    mad r0.x, r1.x, r1.x, -r0.x
    mul r2, r1.yzzx, r1.xyzz
    dp4 r3.x, c21, r2
    dp4 r3.y, c22, r2
    dp4 r3.z, c23, r2
    mad r0.xyz, c24, r0.x, r3
    mov r1.w, c29.w
    dp4 r2.x, c18, r1
    dp4 r2.y, c19, r1
    dp4 r2.z, c20, r1
    add r0.xyz, r0, r2
    max r2.xyz, r0, c30.x
    log r3.x, r2.x
    log r3.y, r2.y
    log r3.z, r2.z
    mul r2.xyz, r3, c30.y
    exp r3.x, r2.x
    exp r3.y, r2.y
    exp r3.z, r2.z
    mad r2.xyz, r3, c30.z, c30.w
    max r2.xyz, r2, c30.x
    abs r0.w, c25.w
    sge r0.w, -r0.w, r0.w
    lrp r3.xyz, r0.w, r2, r0
    dp4 r0.y, c9, v0
    add r2, -r0.y, c15
    mul r4, r1.y, r2
    mul r2, r2, r2
    dp4 r0.x, c8, v0
    add r5, -r0.x, c14
    mad r4, r5, r1.x, r4
    mad r2, r5, r5, r2
    dp4 r0.z, c10, v0
    add r5, -r0.z, c16
    mad r4, r5, r1.z, r4
    mov o2.xyz, r1
    mad r1, r5, r5, r2
    rsq r2.x, r1.x
    rsq r2.y, r1.y
    rsq r2.z, r1.z
    rsq r2.w, r1.w
    mov r5.zw, c29
    mad r1, r1, c17, r5.w
    mul r2, r2, r4
    max r2, r2, c30.x
    rcp r4.x, r1.x
    rcp r4.y, r1.y
    rcp r4.z, r1.z
    rcp r4.w, r1.w
    mul r1, r2, r4
    mul r2.xyz, r1.y, c1
    mad r2.xyz, c0, r1.x, r2
    mad r1.xyz, c2, r1.z, r2
    mad r1.xyz, c3, r1.w, r1
    add o5.xyz, r1, r3
    mov o3.xyz, r0
    rcp r1.x, c27.x
    rcp r1.y, c27.y
    mul r0.xy, r0.xzzw, r1
    rcp r1.z, c26.x
    rcp r1.y, c26.y
    mad r1.yz, r1, r0.xyxw, c29.xxyw
    mov o4.xy, r0
    mad r1.x, r1.y, -c29.z, r1.z
    frc r0.xy, r1
    add r0.zw, -r0.xyxy, r1.xyxy
    mad r1.xy, r0.yxzw, c29.z, r0
    sge r0.y, r0.y, r0.x
    sge r1.zw, c29.w, r1.xyxy
    sge r1.xy, r1, c29.z
    mul r1.zw, r1, r1.xyxy
    mul r1.x, r1.y, r1.x
    add r1.y, r1.w, r1.z
    min r1.y, r1.y, c29.w
    add r0.x, -r0.y, c29.w
    lrp r2.xy, r1.y, r0, r1.x
    add r0.xy, r0.zwzw, r2
    add r0.xy, r0, c29.z
    mul r0.xy, r0, c26
    mul r1.x, r5.z, c26.y
    max r0.y, r0.y, r1.x
    mad r1.x, c26.y, -r5.z, r5.w
    min r0.z, r0.y, r1.x
    mov r0.w, c30.x
    texldl r0, r0.xzww, s0
    mov o4.z, r0.x
    mov o6, c30.x

// approximately 100 instruction slots used (2 texture, 98 arithmetic)
