//--FOV-- CRC32: 63E1FCB2 |    Unity headers extracted from TripleTransition.shader
//    Shader "Custom/TripleTransition" {
//      Properties {
//       _MainTex ("Texture", 2D) = "white" { }
//       _NoiseTex ("NoiseTexture", 2D) = "white" { }
//       _DiffuseAtlas ("DiffuseAtlas", 2D) = "white" { }
//       _SpecularAtlas ("SpecularAtlas", 2D) = "white" { }
//       _NormalAtlas ("NormalAtlas", 2D) = "white" { }
//       _IllumAtlas ("IllumAtlas", 2D) = "white" { }
//       _WhitePaper ("WhitePaper", 2D) = "white" { }
//       _HexaGridTexture ("Hexa Grid Tex", 2D) = "white" { }
//       _HexaPerTexture ("Hexa per Tex", Float) = 2
//       _TransitionHexaPerTexture ("Hexa per Tex Transition", Float) = 2
//      }
//      Fallback Off
//      SubShader 1/1 {
//        Tags { "QUEUE"="Geometry-10" "RenderType"="Opaque" }
//        Pass 1/5 {
//          Name "FORWARD"
//          Tags { "LIGHTMODE"="ForwardBase" "QUEUE"="Geometry-10" "SHADOWSUPPORT"="true" "RenderType"="Opaque" }
//          GpuProgramID 47507
//          Program "vp" {
//            SubProgram "d3d9 " {
//              GpuProgramIndex 0
//            }
//          }
//        }
//      }
//    }
//
// Unity 5.3 headers extracted from TripleTransition.shader.decompressed:
//   API d3d9
//   Shader model vs_3_0
//   undeciphered1: 77 4 -1
//   Keywords { "DIRECTIONAL" "SHADOWS_OFF" "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" "DYNAMICLIGHTMAP_OFF" }
//   undeciphered3: 15 4 0 0 2 1 1 2 3 4 1
//   Float 13 [_2DView]
//   Vector 11 [_FilteredFirstHexaTexture_TexelSize]
//   Vector 15 [_MainTex_ST]
//   Vector 14 [_RegionColorAndNeutralMap_TexelSize]
//   Vector 12 [_WorldSize]
//   Vector 10 [unity_WorldTransformParams]
//   Matrix 4 [_Object2World] 3
//   Matrix 7 [_World2Object] 3
//   Matrix 0 [glstate_matrix_mvp]
//   SetTexture 0 [_FilteredFirstHexaTexture] 2D 0
//   SetTexture 1 [_RegionColorAndNeutralMap] 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:26:01 2016
//
//
// Parameters:
//
//   float _2DView;
//   sampler2D _FilteredFirstHexaTexture;
//   float4 _FilteredFirstHexaTexture_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       3
//   unity_WorldTransformParams          c10      1
//   _FilteredFirstHexaTexture_TexelSize c11      1
//   _WorldSize                          c12      1
//   _2DView                             c13      1
//   _RegionColorAndNeutralMap_TexelSize c14      1
//   _MainTex_ST                         c15      1
//   _FilteredFirstHexaTexture           s0       1
//   _RegionColorAndNeutralMap           s1       1
//
//
// Default values:
//
//   _2DView
//     c13  = { 0, 0, 0, 0 };
//

    vs_3_0
    def c16, 256, 0.5, 0, 1
    def c17, 0.5, 0.200000003, 10, -0.0500000007
    def c18, 1.5999999, 0.300000012, -0.300000012, 0
    dcl_position v0
    dcl_normal v1
    dcl_texcoord v2
    dcl_color v3
    dcl_2d s0
    dcl_2d s1
    dcl_position o0
    dcl_texcoord o1.xy
    dcl_texcoord1 o2
    dcl_texcoord2 o3
    dcl_texcoord3 o4
    dcl_color o5
    dcl_texcoord4 o6.xyz
    dcl_texcoord5 o7
    dp4 o6.y, c5, v0
    mul r0.x, c16.x, v3.w
    mul r0.x, r0.x, c14.x
    frc r0.z, r0.x
    add r0.z, -r0.z, r0.x
    mul r0.y, r0.z, c14.y
    mov r1.yw, c16
    mad r0.xy, c14, r1.y, r0
    mov r0.zw, c16.z
    texldl o7, r0, s1
    add r0.x, r1.w, -c11.y
    rcp r1.x, c12.x
    rcp r1.y, c12.y
    dp4 r2.x, c4, v0
    dp4 r2.z, c6, v0
    mul r1.xy, r1, r2.xzzw
    mov o6.xz, r2
    max r0.y, r1.y, c16.z
    min r1.z, r0.x, r0.y
    mov r1.w, c16.z
    texldl r0, r1.xzww, s0
    add r0.xy, -r0.x, c17
    add r0.z, r0.z, -c16.y
    add_sat r0.x, r0.x, r0.x
    mul_sat r0.y, r0.y, c17.z
    lrp r1.xyz, r0.y, c16.zzww, v1.zxyw
    lrp r2.y, r0.x, c17.w, v0.y
    mov r2.xzw, v0
    dp4 o0.x, c0, r2
    dp4 o0.y, c1, r2
    dp4 o0.z, c2, r2
    dp4 o0.w, c3, r2
    mad o1.xy, v2, c15, c15.zwzw
    dp4 o2.w, c4, r2
    dp4 o3.w, c5, r2
    dp4 o4.w, c6, r2
    mov r0.x, c18.x
    mul r0.x, r0.x, c13.x
    mad r0.x, r0.z, c18.y, r0.x
    add_sat r0.x, r0.x, c18.z
    dp3 r0.y, r1, r1
    rsq r0.y, r0.y
    mul r2.xyz, r0.y, r1
    mad r0.yzw, r1.xxyz, -r0.y, c16.xzzw
    mad r0.xyz, r0.x, r0.yzww, r2
    mul r1.xyz, r0, c16.zwzw
    mad r1.xyz, r0.zxyw, c16.wzzw, -r1
    nrm r2.xyz, r1
    dp3 r1.z, c4, r2
    dp3 r1.x, c5, r2
    dp3 r1.y, c6, r2
    dp3 r0.w, r1, r1
    rsq r0.w, r0.w
    mul r1.xyz, r0.w, r1
    mov o2.x, r1.z
    mul r2.xyz, r0.z, c8.zxyw
    mad r0.yzw, c7.xzxy, r0.y, r2.xxyz
    mad r0.xyz, c9.zxyw, r0.x, r0.yzww
    dp3 r0.w, r0, r0
    rsq r0.w, r0.w
    mul r0.xyz, r0.w, r0
    mul r2.xyz, r1, r0
    mad r2.xyz, r0.zxyw, r1.yzxw, -r2
    mul r2.xyz, r2, -c10.w
    mov o2.y, r2.x
    mov o2.z, r0.y
    mov o3.x, r1.x
    mov o4.x, r1.y
    mov o3.y, r2.y
    mov o4.y, r2.z
    mov o3.z, r0.z
    mov o4.z, r0.x
    mov o5, v3

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