//--FOV-- CRC32: D13F8E89 |    Unity headers extracted from Fids.shader
//    Shader "Amplitude/Fids" {
//      Properties {
//       _MainTex ("Texture", 2D) = "white" { }
//       _ResourceTex ("Resource Tex", 2D) = "black" { }
//       _ViewSensitivity ("3D, Battle, 2D, Empire", Vector) = (1,0,0,0)
//       _WinterSensitivity ("Summer, Winter, WinterIntensity, Fow intensity", Vector) = (1,1,1,1)
//       _ResourceColor ("Resource Color", Color) = (1,1,1,1)
//      }
//      Fallback Off
//      SubShader 1/1 {
//        Tags { "QUEUE"="Transparent+10" "RenderType"="Transparent" }
//        Pass 1/1 {
//          Tags { "QUEUE"="Transparent+10" "RenderType"="Transparent" }
//          ZTest Always
//          ZWrite Off
//          Cull Off
//          Blend SrcAlpha OneMinusSrcAlpha
//          ColorMask RGB
//          GpuProgramID 23949
//          Program "vp" {
//            SubProgram "d3d9 " {
//              GpuProgramIndex 0
//            }
//          }
//        }
//      }
//    }
//
// Unity 5.3 headers extracted from Fids.shader.decompressed:
//   API d3d9
//   Shader model vs_3_0
//   undeciphered1: 78 6 -1
//   Keywords { "DEFAULT_RENDERER" }
//   undeciphered3: 25 3 0 0 3 4 4 5 1
//   Vector 7 [_FirstHexaTextureLookup_TexelSize]
//   Vector 9 [_RegionHighLightMap_TexelSize]
//   Vector 8 [_SecondHexaTextureLookup_TexelSize]
//   Vector 10 [_WorldSize]
//   Matrix 4 [_Object2World] 3
//   Matrix 0 [glstate_matrix_mvp]
//   SetTexture 0 [_FirstHexaTextureLookup] 2D 0
//   SetTexture 1 [_SecondHexaTextureLookup] 2D 1
//   SetTexture 2 [_RegionHighLightMap] 2D 2
//
// 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:24 2016
//
//
// Parameters:
//
//   sampler2D _FirstHexaTextureLookup;
//   float4 _FirstHexaTextureLookup_TexelSize;
//   row_major float4x4 _Object2World;
//   sampler2D _RegionHighLightMap;
//   float4 _RegionHighLightMap_TexelSize;
//   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
//   _FirstHexaTextureLookup_TexelSize  c7       1
//   _SecondHexaTextureLookup_TexelSize c8       1
//   _RegionHighLightMap_TexelSize      c9       1
//   _WorldSize                         c10      1
//   _FirstHexaTextureLookup            s0       1
//   _SecondHexaTextureLookup           s1       1
//   _RegionHighLightMap                s2       1
//

    vs_3_0
    def c11, -0.666666687, -0.5, 0.5, 1
    def c12, 0, 255, 0.660000026, 0
    dcl_position v0
    dcl_texcoord v1
    dcl_texcoord1 v2
    dcl_2d s0
    dcl_2d s1
    dcl_2d s2
    dcl_position o0
    dcl_texcoord o1.xy
    dcl_texcoord1 o2.xy
    dcl_texcoord2 o3.xy
    dcl_texcoord3 o4.x
    dp4 o0.x, c0, v0
    dp4 o0.y, c1, v0
    dp4 o0.z, c2, v0
    dp4 o0.w, c3, v0
    dp4 r0.x, c4, v0
    dp4 r0.y, c6, v0
    rcp r1.x, c10.x
    rcp r1.y, c10.y
    mul r0.xy, r0, r1
    rcp r1.z, c7.x
    rcp r1.y, c7.y
    mad r1.yz, r1, r0.xyxw, c11.xxyw
    mad r1.x, r1.y, -c11.z, r1.z
    frc r0.zw, r1.xyxy
    add r1.xy, -r0.zwzw, r1
    mad r1.zw, r0.xywz, c11.z, r0
    sge r2.y, r0.w, r0.z
    sge r0.zw, c11.w, r1
    sge r1.zw, r1, c11.z
    mul r0.zw, r0, r1
    mul r1.z, r1.w, r1.z
    add r0.z, r0.w, r0.z
    min r0.z, r0.z, c11.w
    add r2.x, -r2.y, c11.w
    lrp r3.xy, r0.z, r2, r1.z
    add r0.zw, r1.xyxy, r3.xyxy
    add r0.zw, r0, c11.z
    mul r1.xy, r0.zwzw, c7
    mov r0.zw, c11
    mul r2.x, r0.z, c7.y
    max r1.y, r1.y, r2.x
    mad r2.x, c7.y, -r0.z, r0.w
    min r1.z, r1.y, r2.x
    mov r1.w, c12.x
    texldl r1, r1.xzww, s0
    mul r1.x, r1.w, c9.x
    mul r1.x, r1.x, c12.y
    frc r1.z, r1.x
    add r1.z, -r1.z, r1.x
    mul r1.y, r1.z, c9.y
    mad r1.xy, c9, r0.z, r1
    mov r1.zw, c12.x
    texldl r1, r1, s2
    mul r1.x, r1.z, c12.z
    rcp r1.z, c8.x
    rcp r1.y, c8.y
    mad r2.yz, r1, r0.xyxw, c11.xxyw
    mov o3.xy, r0
    mad r2.x, r2.y, -c11.z, r2.z
    frc r0.xy, r2
    add r1.yz, -r0.xxyw, r2.xxyw
    mad r2.xy, r0.yxzw, c11.z, r0
    sge r0.y, r0.y, r0.x
    sge r2.zw, c11.w, r2.xyxy
    sge r2.xy, r2, c11.z
    mul r2.zw, r2, r2.xyxy
    mul r1.w, r2.y, r2.x
    add r2.x, r2.w, r2.z
    min r2.x, r2.x, c11.w
    add r0.x, -r0.y, c11.w
    lrp r3.xy, r2.x, r0, r1.w
    add r0.xy, r1.yzzw, r3
    add r0.xy, r0, c11.z
    mul r2.xy, r0, c8
    mul r0.x, r0.z, c8.y
    max r0.x, r0.x, r2.y
    mad r0.y, c8.y, -r0.z, r0.w
    min r2.z, r0.y, r0.x
    mov r2.w, c12.x
    texldl r0, r2.xzww, s1
    max o4.x, r1.x, r0.z
    mov o1.xy, v1
    mov o2.xy, v2

// approximately 76 instruction slots used (6 texture, 70 arithmetic)
