//--FOV-- CRC32: 78B2F9DF |    Unity headers extracted from Icons3D.shader
//    Shader "Amplitude/Environment/Icons3D" {
//      Properties {
//       _MainTex ("Base (RGB) Trans (A)", 2D) = "white" { }
//       _ViewSensitivity ("3D, Battle, 2D, Empire", Vector) = (1,0,0,0)
//       _WinterSensitivity ("Summer, Winter, WinterIntensity, Fow intensity", Vector) = (1,1,1,1)
//       _AltitudeGammaCorrectionFactor ("Altitude Gamma Correction", Float) = 0.25
//      }
//      Fallback Off
//      SubShader 1/1 {
//        Tags { "QUEUE"="Geometry" "RenderType"="Opaque" }
//        Pass 1/5 {
//          Name "FORWARD"
//          Tags { "LIGHTMODE"="ForwardBase" "QUEUE"="Geometry" "SHADOWSUPPORT"="true" "RenderType"="Opaque" }
//          GpuProgramID 53996
//          Program "vp" {
//            SubProgram "d3d9 " {
//              GpuProgramIndex 0
//            }
//          }
//        }
//      }
//    }
//
// Unity 5.3 headers extracted from Icons3D.shader.decompressed:
//   API d3d9
//   Shader model vs_3_0
//   undeciphered1: 74 4 -1
//   Keywords { "DIRECTIONAL" "SHADOWS_OFF" "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" "DYNAMICLIGHTMAP_OFF" }
//   undeciphered3: 9 2 0 0 3 4 1
//   Vector 12 [_FirstHexaTextureLookup_TexelSize]
//   Vector 13 [_MainTex_ST]
//   Vector 11 [_RegionColorAndNeutralMap_TexelSize]
//   Vector 10 [_WorldSize]
//   Vector 9 [unity_WorldTransformParams]
//   Matrix 4 [_Object2World] 3
//   Matrix 7 [_World2Object] 2
//   Matrix 0 [glstate_matrix_mvp]
//   SetTexture 0 [_RegionColorAndNeutralMap] 2D 0
//   SetTexture 1 [_FirstHexaTextureLookup] 2D 1
//
// 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:30 2016
//
//
// Parameters:
//
//   sampler2D _FirstHexaTextureLookup;
//   float4 _FirstHexaTextureLookup_TexelSize;
//   float4 _MainTex_ST;
//   row_major float4x4 _Object2World;
//   sampler2D _RegionColorAndNeutralMap;
//   float4 _RegionColorAndNeutralMap_TexelSize;
//   row_major float4x4 _World2Object;
//   float4 _WorldSize;
//   row_major float4x4 glstate_matrix_mvp;
//   float4 unity_WorldTransformParams;
//
//
// Registers:
//
//   Name                                Reg   Size
//   ----------------------------------- ----- ----
//   glstate_matrix_mvp                  c0       4
//   _Object2World                       c4       3
//   _World2Object                       c7       2
//   unity_WorldTransformParams          c9       1
//   _WorldSize                          c10      1
//   _RegionColorAndNeutralMap_TexelSize c11      1
//   _FirstHexaTextureLookup_TexelSize   c12      1
//   _MainTex_ST                         c13      1
//   _RegionColorAndNeutralMap           s0       1
//   _FirstHexaTextureLookup             s1       1
//

    vs_3_0
    def c14, -0.666666687, -0.5, 0.5, 1
    def c15, 0, 255, 0, 0
    dcl_position v0
    dcl_texcoord v1
    dcl_2d s0
    dcl_2d s1
    dcl_position o0
    dcl_texcoord o1.xy
    dcl_texcoord1 o2
    dcl_texcoord2 o3
    dcl_texcoord3 o4
    dcl_texcoord4 o5.xyz
    dcl_texcoord5 o6
    rcp r0.z, c12.x
    rcp r0.y, c12.y
    rcp r1.x, c10.x
    rcp r1.y, c10.y
    dp4 r2.x, c4, v0
    dp4 r2.y, c6, v0
    mul r0.xw, r1.xyzy, r2.xyzy
    mov o2.w, r2.x
    mov o4.w, r2.y
    mad r1.yz, r0, r0.xwxw, c14.xxyw
    mov o5.xy, r0.xwzw
    mad r1.x, r1.y, -c14.z, r1.z
    frc r0.xy, r1
    add r0.zw, -r0.xyxy, r1.xyxy
    mad r1.xy, r0.yxzw, c14.z, r0
    sge r0.y, r0.y, r0.x
    sge r1.zw, c14.w, r1.xyxy
    sge r1.xy, r1, c14.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, c14.w
    add r0.x, -r0.y, c14.w
    lrp r2.xy, r1.y, r0, r1.x
    add r0.xy, r0.zwzw, r2
    add r0.xy, r0, c14.z
    mul r0.xy, r0, c12
    mov r1.zw, c14
    mul r1.x, r1.z, c12.y
    max r0.y, r0.y, r1.x
    mad r1.x, c12.y, -r1.z, r1.w
    min r0.z, r0.y, r1.x
    mov r0.w, c15.x
    texldl r0, r0.xzww, s1
    mul r0.x, r0.w, c11.x
    mul r0.x, r0.x, c15.y
    frc r0.z, r0.x
    add r0.z, -r0.z, r0.x
    mul r0.y, r0.z, c11.y
    mad r0.xy, c11, r1.z, r0
    mov r0.zw, c15.x
    texldl o6, r0, s0
    dp4 o0.x, c0, v0
    dp4 o0.y, c1, v0
    dp4 o0.z, c2, v0
    dp4 o0.w, c3, v0
    mad o1.xy, v1, c13, c13.zwzw
    mov r0.z, c4.x
    mov r0.x, c5.x
    mov r0.y, c6.x
    dp3 r0.w, r0, r0
    rsq r0.w, r0.w
    mul r0.xyz, r0.w, r0
    mov o2.x, r0.z
    dp3 r0.w, c8, c8
    rsq r0.w, r0.w
    mul r1.xyz, r0.w, c8.zxyw
    mul r2.xyz, r0, r1
    mad r2.xyz, r1.zxyw, r0.yzxw, -r2
    mul r2.xyz, r2, -c9.w
    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
    dp4 r0.x, c5, v0
    mov o3.w, r0.x
    mov o5.z, r0.x

// approximately 73 instruction slots used (4 texture, 69 arithmetic)
