//--FOV-- CRC32: 06D318D3 |    Unity headers extracted from CommonWinterShifter.shader
//    Shader "Amplitude/Characters/CommonWinterShifter" {
//      Properties {
//       _Shininess ("Shininess", Float) = 0.5
//       _Intensity ("Intensity", Float) = 0.5
//       _AmbientFactor ("Ambient Factor", Range(0,1)) = 0.1
//       _AmbientColor ("Ambient Color", Color) = (0.8,0.1,0.1,1)
//       _HighLightColor ("HighLight Color", Color) = (1,1,1,1)
//       _MainTex ("Diffuse Texture", 2D) = "white" { }
//       _MainTexWinter ("Diffuse Winter Texture", 2D) = "white" { }
//       _BumpMap ("Normal Map", 2D) = "white" { }
//       _SpecMap ("GlossColor Map", 2D) = "white" { }
//       _IlluminMap ("Illumination Map", 2D) = "black" { }
//       _FactionMaskMap ("FactionMask Map", 2D) = "black" { }
//       _BaseFactionColor ("Base Faction Color", Color) = (0.8,0.1,0.1,1)
//       _FactionColor ("Faction Color", Color) = (0.8,0.1,0.1,1)
//       _ViewSensitivity ("3D, Battle, 2D, Empire", Vector) = (1,1,1,0)
//       _VisibilityStatus ("Visible at date1, date1, visible at date0, date0", Vector) = (1,0,1,-1)
//      [HideInInspector]  _ShiftingFormStatus ("Shift status at date1, date1, Shift status at date0, date0", Vector) = (1,0,1,-1)
//      }
//      Fallback Off
//      SubShader 1/1 {
//        Tags { "QUEUE"="Geometry" "RenderType"="Opaque" }
//        Pass 3/5 {
//          Name "PREPASS"
//          Tags { "LIGHTMODE"="PrePassBase" "QUEUE"="Geometry" "RenderType"="Opaque" }
//          GpuProgramID 188750
//          Program "vp" {
//            SubProgram "d3d9 " {
//              GpuProgramIndex 56
//            }
//          }
//        }
//      }
//    }
//
// Unity 5.3 headers extracted from CommonWinterShifter.shader.decompressed:
//   API d3d9
//   Shader model vs_3_0
//   undeciphered1: 93 -1 -1
//   Keywords { "DEFAULT_RENDERER" "CAMOUFLAGE_OFF" }
//   undeciphered3: 139 4 0 0 1 2 3 4 7 8 1
//   Vector 11 [_BaseFactionColor]
//   Vector 12 [_FactionColor]
//   Vector 16 [_MainTex_ST]
//   Vector 15 [_ShiftingFormStatus]
//   Vector 14 [_UnityEngineTime]
//   Vector 13 [_VisibilityStatus]
//   Vector 10 [unity_WorldTransformParams]
//   Matrix 4 [_Object2World] 3
//   Matrix 7 [_World2Object] 3
//   Matrix 0 [glstate_matrix_mvp]
//
// 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:24:50 2016
//
//
// Parameters:
//
//   float4 _BaseFactionColor;
//   float4 _FactionColor;
//   float4 _MainTex_ST;
//   row_major float4x4 _Object2World;
//   float4 _ShiftingFormStatus;
//   float4 _UnityEngineTime;
//   float4 _VisibilityStatus;
//   row_major float4x4 _World2Object;
//   row_major float4x4 glstate_matrix_mvp;
//   float4 unity_WorldTransformParams;
//
//
// Registers:
//
//   Name                       Reg   Size
//   -------------------------- ----- ----
//   glstate_matrix_mvp         c0       4
//   _Object2World              c4       3
//   _World2Object              c7       3
//   unity_WorldTransformParams c10      1
//   _BaseFactionColor          c11      1
//   _FactionColor              c12      1
//   _VisibilityStatus          c13      1
//   _UnityEngineTime           c14      1
//   _ShiftingFormStatus        c15      1
//   _MainTex_ST                c16      1
//

    vs_3_0
    def c17, 1, 0, -1, 0.666666687
    def c18, 6, 1.00000001e-010, 0.5, 1
    def c19, 0.00100000005, 0, 0, 0
    def c20, 1, 0, -0.333333343, 1.00000001e-010
    dcl_position v0
    dcl_tangent v1
    dcl_normal v2
    dcl_texcoord v3
    dcl_position o0
    dcl_texcoord o1.xy
    dcl_texcoord1 o2.xyz
    dcl_texcoord2 o3.xyz
    dcl_texcoord3 o4.xyz
    dcl_texcoord4 o5
    dcl_texcoord5 o6.xyz
    sge r0.x, c11.y, c11.z
    mov r1, c17
    mad r2, c11.zyzz, r1.xxyy, r1.yyzw
    mov r3.xyz, c20
    mad r4, c11.yzyy, r3.xxyy, r3.yyyz
    lrp r5, r0.x, r4.xywz, r2.xywz
    sge r0.x, c11.x, r5.x
    mov r2.z, r5.w
    mov r5.w, c11.x
    mov r2.xyw, r5.wyzx
    lrp r4, r0.x, r2, r5
    min r0.x, r4.y, r4.w
    add r0.x, -r0.x, r4.x
    mad r0.y, r0.x, c18.x, c18.y
    rcp r0.y, r0.y
    add r0.z, -r4.y, r4.w
    mad r0.y, r0.z, r0.y, r4.z
    sge r0.z, c12.y, c12.z
    mad r1, c12.zyzz, r1.xxyy, r1.yyzw
    mad r2, c12.yzyy, r3.xxyy, r3.yyyz
    lrp r3, r0.z, r2.xywz, r1.xywz
    sge r0.z, c12.x, r3.x
    mov r1.z, r3.w
    mov r3.w, c12.x
    mov r1.xyw, r3.wyzx
    lrp r2, r0.z, r1, r3
    min r0.z, r2.y, r2.w
    add r0.z, -r0.z, r2.x
    mad r0.w, r0.z, c18.x, c18.y
    rcp r0.w, r0.w
    add r1.x, -r2.y, r2.w
    mad r0.w, r1.x, r0.w, r2.z
    add o6.x, -r0_abs.y, r0_abs.w
    add r0.y, r2.x, c20.w
    rcp r0.y, r0.y
    mul r0.y, r0.y, r0.z
    add r0.z, r4.x, c20.w
    rcp r0.w, r4.x
    mad r0.w, r2.x, r0.w, c17.z
    mad o6.z, r0.w, c18.z, c18.w
    rcp r0.z, r0.z
    mul r0.x, r0.z, r0.x
    rcp r0.x, r0.x
    mul o6.y, r0.x, r0.y
    mov r0.w, c15.w
    add r0.x, -r0.w, c14.x
    add r0.yz, -c15.xwzw, c15.xyxw
    max r0.y, r0.y, c19.x
    rcp r0.y, r0.y
    mul_sat r0.x, r0.y, r0.x
    mad_sat o5.z, r0.x, r0.z, c15.z
    mov r0.w, c13.w
    add r0.x, -r0.w, c14.x
    add r0.yz, -c13.xwzw, c13.xyxw
    max r0.y, r0.y, c19.x
    rcp r0.y, r0.y
    mul_sat r0.x, r0.y, r0.x
    mad o5.w, r0.x, r0.z, c13.z
    dp4 o0.x, c0, v0
    dp4 o0.y, c1, v0
    dp4 o0.z, c2, v0
    dp4 o0.w, c3, v0
    mad o1.xy, v3, c16, c16.zwzw
    dp3 r0.z, c4, v1
    dp3 r0.x, c5, v1
    dp3 r0.y, c6, v1
    dp3 r0.w, r0, r0
    rsq r0.w, r0.w
    mul r0.xyz, r0.w, r0
    mov o2.x, r0.z
    mul r1.xyz, c8.zxyw, v2.y
    mad r1.xyz, c7.zxyw, v2.x, r1
    mad r1.xyz, c9.zxyw, v2.z, r1
    dp3 r0.w, r1, r1
    rsq r0.w, r0.w
    mul r1.xyz, r0.w, r1
    mul r2.xyz, r0, r1
    mad r2.xyz, r1.zxyw, r0.yzxw, -r2
    mul r0.z, c10.w, v1.w
    mul r2.xyz, r0.z, r2
    mov o2.y, r2.x
    mov o2.z, r1.y
    mov o3.x, r0.x
    mov o4.x, r0.y
    mov o3.y, r2.y
    mov o4.y, r2.z
    mov o3.z, r1.z
    mov o4.z, r1.x
    mov o5.xy, c17.y

// approximately 89 instruction slots used
