//--FOV-- CRC32: E599B3CE |    Unity headers extracted from BattleBoundary.shader
//    Shader "Amplitude/Battle/Boundary" {
//      Properties {
//       _Color ("Main Color", Color) = (1,1,1,1)
//       _ViewSensitivity ("3D, Battle, 2D, Empire", Vector) = (1,1,1,0)
//       _WinterSensitivity ("Summer, Winter, WinterIntensity, Fow intensity", Vector) = (1,1,1,1)
//       _Status ("Status( internal ) visibility/selection, selection start time, selection transition duration, visibility start time", Vector) = (1,0,1,0)
//       _Geometry ("DegradeMin, FillMin, fillMax, Size", Vector) = (0.27,0.419,0.5,0.4)
//       _Intensity ("DegradeIntensity, FillIntensity, not selected, selected glow", Vector) = (0.507,1,0.7,0.2)
//       _AnimationSettings ("Apparition duration, disparition duration, selection glowing time, selection size multiplier", Vector) = (0.5,1,80,2)
//       _FowSensitivity ("Hidden In FOW, na na na", Vector) = (1,0,0,0)
//      }
//      Fallback Off
//      SubShader 1/1 {
//        Tags { "QUEUE"="Transparent+10" "RenderType"="Transparent" }
//        Pass 1/1 {
//          Tags { "QUEUE"="Transparent+10" "RenderType"="Transparent" }
//          ZWrite Off
//          Cull Off
//          Blend SrcAlpha OneMinusSrcAlpha
//          ColorMask RGB
//          GpuProgramID 57216
//          Program "vp" {
//            SubProgram "d3d9 " {
//              GpuProgramIndex 0
//            }
//          }
//        }
//      }
//    }
//
// Unity 5.3 headers extracted from BattleBoundary.shader.decompressed:
//   API d3d9
//   Shader model vs_3_0
//   undeciphered1: 58 -1 -1
//   Keywords { "DEFAULT_RENDERER" }
//   undeciphered3: 11 3 0 0 1 2 3 4 1
//   Vector 11 [_AnimationSettings]
//   Vector 7 [_Color]
//   Vector 9 [_Geometry]
//   Vector 10 [_Intensity]
//   Vector 8 [_Status]
//   Vector 12 [_UnityEngineTime]
//   Vector 13 [_WorldSize]
//   Matrix 4 [_Object2World] 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:31 2016
//
//
// Parameters:
//
//   float4 _AnimationSettings;
//   float4 _Color;
//   float4 _Geometry;
//   float4 _Intensity;
//   row_major float4x4 _Object2World;
//   float4 _Status;
//   float4 _UnityEngineTime;
//   float4 _WorldSize;
//   row_major float4x4 glstate_matrix_mvp;
//
//
// Registers:
//
//   Name               Reg   Size
//   ------------------ ----- ----
//   glstate_matrix_mvp c0       4
//   _Object2World      c4       3
//   _Color             c7       1
//   _Status            c8       1
//   _Geometry          c9       1
//   _Intensity         c10      1
//   _AnimationSettings c11      1
//   _UnityEngineTime   c12      1
//   _WorldSize         c13      1
//

    vs_3_0
    def c14, -0.5, 0, 0.5, 1
    def c15, 0.00795774721, 0.5, 6.28318548, -3.14159274
    def c16, -1, 0, 1, 0
    dcl_position v0
    dcl_normal v1
    dcl_texcoord v2
    dcl_position o0
    dcl_texcoord o1.xy
    dcl_texcoord1 o2.xy
    dcl_texcoord2 o3
    mov r0, c14
    add r1.x, r0.x, c8.x
    add_sat r1.x, r1.x, r1.x
    add r1.y, -r1.x, c14.w
    rcp r1.z, c8.z
    mov r2.yw, c8
    add r2.xy, -r2.wyzw, c12.x
    mul_sat r1.z, r1.z, r2.y
    lrp r2.y, r1.z, r1.x, r1.y
    mov r1.zw, c11
    mad r1.x, c9.w, r1.w, -c9.w
    mad r1.x, r2.y, r1.x, c9.w
    mul r3.xyz, c16, v1.zzxw
    mul r1.xyw, r1.x, r3.xyzz
    add r2.z, c14.z, -v2.x
    mad r3.xyz, r1.xyww, r2.z, v0
    mov r3.w, v0.w
    dp4 o0.x, c0, r3
    dp4 o0.y, c1, r3
    dp4 o0.z, c2, r3
    dp4 o0.w, c3, r3
    add_sat r1.x, c8.x, c8.x
    lrp r2.z, r1.x, c11.x, c11.y
    rcp r1.y, r2.z
    mul_sat r1.y, r1.y, r2.x
    add r1.w, -r1.x, c14.w
    lrp r2.x, r1.y, r1.x, r1.w
    mul r1.x, r1.z, c12.x
    mad r1.x, r1.x, c15.x, c15.y
    frc r1.x, r1.x
    mad r1.x, r1.x, c15.z, c15.w
    sincos r3.y, r1.x
    add r0.w, r0.w, -c10.w
    mad r0.w, c10.w, r3.y, r0.w
    lrp r1.x, r2.y, r0.w, c10.z
    mul r0.w, r2.x, r1.x
    mul o3, r0.w, c7
    rcp r1.x, c13.x
    rcp r1.y, c13.y
    mov r2, v0
    mad r0, v1.zzxz, r0.xyzy, r2
    dp4 r2.x, c4, r0
    dp4 r2.y, c6, r0
    mul o2.xy, r1, r2
    mov o1.xy, v2

// approximately 52 instruction slots used
