//--FOV-- CRC32: 28BA90C2 |    Unity headers extracted from CityBoundary.shader
//    Shader "Amplitude/Feedback/CityBoundary" {
//      Properties {
//       _ViewSensitivity ("3D, Battle, 2D, Empire", Vector) = (1,1,1,0)
//       _WinterSensitivity ("Summer, Winter, WinterIntensity, Fow intensity", Vector) = (1,1,1,1)
//       _Geometry ("DegradeMin, FillMin, fillMax, fillmax selected empire", Vector) = (0.27,0.419,0.5,0)
//       _Intensity ("DegradeIntensity, FillIntensity, na, na", Vector) = (0.507,1,0.5,0)
//       _Color ("Main Color", Color) = (1,1,1,1)
//       _Status ("Status( internal ) visibility/selection, selection start time, selection transition duration, visibility start time", Vector) = (1,0,1,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 2114
//          Program "vp" {
//            SubProgram "d3d9 " {
//              GpuProgramIndex 0
//            }
//          }
//        }
//      }
//    }
//
// Unity 5.3 headers extracted from CityBoundary.shader.decompressed:
//   API d3d9
//   Shader model vs_3_0
//   undeciphered1: 51 2 -1
//   Keywords { "DEFAULT_RENDERER" }
//   undeciphered3: 11 3 0 0 1 2 3 4 1
//   Float 9 [_2DEmpireView]
//   Vector 7 [_SecondHexaTextureLookup_TexelSize]
//   Vector 8 [_WorldSize]
//   Matrix 4 [_Object2World] 3
//   Matrix 0 [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:24:35 2016
//
//
// Parameters:
//
//   float _2DEmpireView;
//   row_major float4x4 _Object2World;
//   sampler2D _SecondHexaTextureLookup;
//   float4 _SecondHexaTextureLookup_TexelSize;
//   float4 _WorldSize;
//   row_major float4x4 glstate_matrix_mvp;
//
//
// Registers:
//
//   Name                               Reg   Size
//   ---------------------------------- ----- ----
//   glstate_matrix_mvp                 c0       4
//   _Object2World                      c4       3
//   _SecondHexaTextureLookup_TexelSize c7       1
//   _WorldSize                         c8       1
//   _2DEmpireView                      c9       1
//   _SecondHexaTextureLookup           s0       1
//
//
// Default values:
//
//   _2DEmpireView
//     c9   = { 0, 0, 0, 0 };
//

    vs_3_0
    def c10, 0, 0.0199999996, -0.5, 0.5
    def c11, -0.666666687, -0.5, 1, 0.5
    def c12, 0.600000024, 0.400000006, 0.25, 0
    def c13, -1, 0, 1, 0
    dcl_position v0
    dcl_normal v1
    dcl_texcoord v2
    dcl_2d s0
    dcl_position o0
    dcl_texcoord o1.xy
    dcl_texcoord1 o2.xy
    dcl_texcoord2 o3.x
    mov r0.xy, c12
    mad r0.x, c9.x, r0.x, r0.y
    mul r0.yzw, c13.xxyz, v1.xzzx
    mul r0.xyz, r0.yzww, r0.x
    add r0.w, c12.z, -v2.x
    add r1.xyz, c10.xyxw, v0
    mad r0.xyz, r0, r0.w, r1
    mov r0.w, v0.w
    dp4 o0.x, c0, r0
    dp4 o0.y, c1, r0
    dp4 o0.z, c2, r0
    dp4 o0.w, c3, r0
    mov o1.xy, v2
    add r0, c10.xyxx, v0
    mad r0, v1.zzxz, c10.zxwx, r0
    dp4 r1.x, c4, r0
    dp4 r1.y, c6, r0
    rcp r0.x, c8.x
    rcp r0.y, c8.y
    mul r0.xy, r0, r1
    mov o2.xy, r0
    rcp r1.z, c7.x
    rcp r1.y, c7.y
    mad r0.yz, r1, r0.xyxw, c11.xxyw
    mad r0.x, r0.y, -c10.w, r0.z
    frc r0.zw, r0.xyxy
    add r0.xy, -r0.zwzw, r0
    mad r1.xy, r0.wzzw, c10.w, r0.zwzw
    sge r2.y, r0.w, r0.z
    sge r0.zw, c11.z, r1.xyxy
    sge r1.xy, r1, c10.w
    mul r0.zw, r0, r1.xyxy
    mul r1.x, r1.y, r1.x
    add r0.z, r0.w, r0.z
    min r0.z, r0.z, c11.z
    add r2.x, -r2.y, c11.z
    lrp r3.xy, r0.z, r2, r1.x
    add r0.xy, r0, r3
    add r0.xy, r0, c10.w
    mul r0.xy, r0, c7
    mov r1.w, c10.w
    mul r1.x, r1.w, c7.y
    max r0.y, r0.y, r1.x
    mov r1.zw, c11
    mad r1.x, c7.y, -r1.w, r1.z
    min r0.z, r0.y, r1.x
    mov r0.w, c10.x
    texldl r0, r0.xzww, s0
    mov o3.x, r0.z

// approximately 50 instruction slots used (2 texture, 48 arithmetic)
