// hlsltool.py -I ../112 --auto-fix-vertex-halo --fix-unity-reflection --only-autofixed --no-validate --ignore-other-errors 233bd1cd5f5e3596-vs_replace.txt
// 3DMigoto: 233bd1cd5f5e3596 | Matched 15 variants of 3 shaders: Hidden/Relief Pack/ReliefTerrain-AddPass, Hidden/Relief Pack/ReliefTerrain-FarOnly, Relief Pack/ReliefTerrain-FirstPass
//
// 001f:    Unity headers extracted from ReliefTerrain-AddPass.shader
// 03e0:    Unity headers extracted from ReliefTerrain-FarOnly.shader
// 7c00:    Unity headers extracted from ReliefTerrain-FirstPass.shader
// 001f:    Shader "Hidden/Relief Pack/ReliefTerrain-AddPass" {
// 03e0:    Shader "Hidden/Relief Pack/ReliefTerrain-FarOnly" {
// 7c00:    Shader "Relief Pack/ReliefTerrain-FirstPass" {
//            Properties {
// 001f:       _Control ("Control (RGBA)", 2D) = "black" { }
// 7fe0:       _Control ("Control (RGBA)", 2D) = "red" { }
//             _Splat3 ("Layer 3 (A)", 2D) = "white" { }
//             _Splat2 ("Layer 2 (B)", 2D) = "white" { }
//             _Splat1 ("Layer 1 (G)", 2D) = "white" { }
//             _Splat0 ("Layer 0 (R)", 2D) = "white" { }
// 7fe0:       _MainTex ("BaseMap (RGB)", 2D) = "white" { }
// 7fe0:       _Color ("Main Color", Color) = (1,1,1,1)
//            [HideInInspector]  _Control1 ("Control1 (RGBA)", 2D) = "red" { }
//            [HideInInspector]  _Control2 ("Control2 (RGBA)", 2D) = "red" { }
//            [HideInInspector]  _Control3 ("Control3 (RGBA)", 2D) = "red" { }
//            [HideInInspector]  _SplatAtlasA ("atlas", 2D) = "black" { }
//            [HideInInspector]  _SplatAtlasB ("atlas", 2D) = "black" { }
//            [HideInInspector]  _SplatAtlasC ("atlas", 2D) = "black" { }
//            [HideInInspector]  _SplatA0 ("Detailmap 0 (RGB+A spec)", 2D) = "black" { }
//            [HideInInspector]  _SplatA1 ("Detailmap 1 (RGB+A spec)", 2D) = "black" { }
//            [HideInInspector]  _SplatA2 ("Detailmap 2 (RGB+A spec)", 2D) = "black" { }
//            [HideInInspector]  _SplatA3 ("Detailmap 3 (RGB+A spec)", 2D) = "black" { }
//            [HideInInspector]  _SplatB0 ("Detailmap 4 (RGB+A spec)", 2D) = "black" { }
//            [HideInInspector]  _SplatB1 ("Detailmap 5 (RGB+A spec)", 2D) = "black" { }
//            [HideInInspector]  _SplatB2 ("Detailmap 6 (RGB+A spec)", 2D) = "black" { }
//            [HideInInspector]  _SplatB3 ("Detailmap 7 (RGB+A spec)", 2D) = "black" { }
//            [HideInInspector]  _SplatC0 ("Detailmap 8 (RGB+A spec)", 2D) = "black" { }
//            [HideInInspector]  _SplatC1 ("Detailmap 9 (RGB+A spec)", 2D) = "black" { }
//            [HideInInspector]  _SplatC2 ("Detailmap 10 (RGB+A spec)", 2D) = "black" { }
//            [HideInInspector]  _SplatC3 ("Detailmap 11 (RGB+A spec)", 2D) = "black" { }
//            [HideInInspector]  _BumpMap01 ("Bumpmap combined 0+1 (RG+BA)", 2D) = "grey" { }
//            [HideInInspector]  _BumpMap23 ("Bumpmap combined 2+3 (RG+BA)", 2D) = "grey" { }
//            [HideInInspector]  _BumpMap45 ("Bumpmap combined 4+5 (RG+BA)", 2D) = "grey" { }
//            [HideInInspector]  _BumpMap67 ("Bumpmap combined 6+7 (RG+BA)", 2D) = "grey" { }
//            [HideInInspector]  _BumpMap89 ("Bumpmap combined 8+9 (RG+BA)", 2D) = "grey" { }
//            [HideInInspector]  _BumpMapAB ("Bumpmap combined 10+11 (RG+BA)", 2D) = "grey" { }
//            [HideInInspector]  _TERRAIN_HeightMap ("Heightmap combined (RGBA - layers 0-3)", 2D) = "white" { }
//            [HideInInspector]  _TERRAIN_HeightMap2 ("Heightmap combined (RGBA - layers 4-7)", 2D) = "white" { }
//            [HideInInspector]  _TERRAIN_HeightMap3 ("Heightmap combined (RGBA - layers 8-11)", 2D) = "white" { }
//            [HideInInspector]  _ColorMapGlobal ("Global colormap (RGBA)", 2D) = "white" { }
//            [HideInInspector]  _NormalMapGlobal ("Global normalmap (RGBA)", 2D) = "white" { }
//            [HideInInspector]  _TreesMapGlobal ("Global pixel treesmap (RGBA)", 2D) = "white" { }
//            [HideInInspector]  _AmbientEmissiveMapGlobal ("Global  ambient emissive map (RGBA)", 2D) = "white" { }
//            [HideInInspector]  _BumpMapGlobal ("Perlin normal combined w. water & reflection map (RG+B+A)", 2D) = "black" { }
//            [HideInInspector]  _VerticalTexture ("Vertical texture", 2D) = "grey" { }
//            [HideInInspector]  TERRAIN_RippleMap ("Water ripplemap", 2D) = "black" { }
//            [HideInInspector]  terrainTileSize ("terrainTileSize", Vector) = (600,200,600,1)
//            [HideInInspector]  _BumpMapGlobalScale ("", Float) = 1
//            [HideInInspector]  _GlobalColorMapBlendValues ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorMapSaturation ("", Float) = 1
//            [HideInInspector]  _GlobalColorMapSaturationFar ("", Float) = 1
//            [HideInInspector]  _GlobalColorMapBrightness ("", Float) = 1
//            [HideInInspector]  _GlobalColorMapBrightnessFar ("", Float) = 1
//            [HideInInspector]  _GlobalColorMapNearMIP ("", Float) = 1
//            [HideInInspector]  _GlobalColorMapDistortByPerlin ("", Float) = 1
//            [HideInInspector]  EmissionRefractFiltering ("", Float) = 1
//            [HideInInspector]  EmissionRefractAnimSpeed ("", Float) = 1
//            [HideInInspector]  _TERRAIN_ReliefTransform ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _TERRAIN_ReliefTransformTriplanarZ ("", Float) = 1
//            [HideInInspector]  _TERRAIN_DIST_STEPS ("", Float) = 1
//            [HideInInspector]  _TERRAIN_WAVELENGTH ("", Float) = 1
//            [HideInInspector]  _blend_multiplier ("", Float) = 1
//            [HideInInspector]  _TERRAIN_ExtrudeHeight ("", Float) = 1
//            [HideInInspector]  _TERRAIN_LightmapShading ("", Float) = 1
//            [HideInInspector]  _TERRAIN_SHADOW_STEPS ("", Float) = 1
//            [HideInInspector]  _TERRAIN_WAVELENGTH_SHADOWS ("", Float) = 1
//            [HideInInspector]  _TERRAIN_SelfShadowStrength ("", Float) = 1
//            [HideInInspector]  _TERRAIN_ShadowSmoothing ("", Float) = 1
//            [HideInInspector]  rtp_mipoffset_color ("", Float) = 1
//            [HideInInspector]  rtp_mipoffset_bump ("", Float) = 1
//            [HideInInspector]  rtp_mipoffset_height ("", Float) = 1
//            [HideInInspector]  rtp_mipoffset_superdetail ("", Float) = 1
//            [HideInInspector]  rtp_mipoffset_flow ("", Float) = 1
//            [HideInInspector]  rtp_mipoffset_ripple ("", Float) = 1
//            [HideInInspector]  rtp_mipoffset_globalnorm ("", Float) = 1
//            [HideInInspector]  rtp_mipoffset_caustics ("", Float) = 1
//            [HideInInspector]  TERRAIN_CausticsAnimSpeed ("", Float) = 1
//            [HideInInspector]  TERRAIN_CausticsColor ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_CausticsTilingScale ("", Float) = 1
//            [HideInInspector]  TERRAIN_RippleScale ("", Float) = 1
//            [HideInInspector]  TERRAIN_FlowScale ("", Float) = 1
//            [HideInInspector]  TERRAIN_FlowSpeed ("", Float) = 1
//            [HideInInspector]  TERRAIN_FlowCycleScale ("", Float) = 1
//            [HideInInspector]  TERRAIN_FlowMipOffset ("", Float) = 1
//            [HideInInspector]  TERRAIN_DropletsSpeed ("", Float) = 1
//            [HideInInspector]  TERRAIN_WetDarkening ("", Float) = 1
//            [HideInInspector]  TERRAIN_WetDropletsStrength ("", Float) = 1
//            [HideInInspector]  TERRAIN_WetHeight_Treshold ("", Float) = 1
//            [HideInInspector]  TERRAIN_WetHeight_Transition ("", Float) = 1
//            [HideInInspector]  TERRAIN_mipoffset_flowSpeed ("", Float) = 1
//            [HideInInspector]  _TERRAIN_distance_start ("", Float) = 1
//            [HideInInspector]  _TERRAIN_distance_transition ("", Float) = 1
//            [HideInInspector]  _TERRAIN_distance_start_bumpglobal ("", Float) = 1
//            [HideInInspector]  _TERRAIN_distance_transition_bumpglobal ("", Float) = 1
//            [HideInInspector]  rtp_perlin_start_val ("", Float) = 1
//            [HideInInspector]  _FarNormalDamp ("", Float) = 1
//            [HideInInspector]  _RTP_MIP_BIAS ("", Float) = 1
//            [HideInInspector]  _SuperDetailTiling ("", Float) = 1
//            [HideInInspector]  _VerticalTextureTiling ("", Float) = 1
//            [HideInInspector]  _VerticalTextureGlobalBumpInfluence ("", Float) = 1
//            [HideInInspector]  RTP_AOamp ("", Float) = 1
//            [HideInInspector]  RTP_AOsharpness ("", Float) = 1
//            [HideInInspector]  _MixScale0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _MixBlend0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorPerLayer0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerBrightness0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerSaturation0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerBrightness2Spec0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerAlbedo2SpecColor0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _MixSaturation0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _MixBrightness0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _MixReplace0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmission0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmissionRefractStrength0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmissionRefractHBedge0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmissionColorR0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmissionColorG0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmissionColorB0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmissionColorA0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorBottom0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorTop0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorColormapLoSat0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorColormapHiSat0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorLayerLoSat0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorLayerHiSat0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorLoBlend0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorHiBlend0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _FarSpecCorrection0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _MIPmult0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_LayerWetStrength0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterLevel0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterLevelSlopeDamp0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterEdge0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_Refraction0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WetRefraction0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_Flow0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WetFlow0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WetGloss0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterMetallic0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterGloss0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterGlossDamper0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterEmission0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterColorR0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterColorG0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterColorB0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterColorA0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _BumpMapGlobalStrength0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  PER_LAYER_HEIGHT_MODIFIER0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthMultA0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthMultB0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthNormal0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthMultASelfMaskNear0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthMultASelfMaskFar0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthMultBSelfMaskNear0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthMultBSelfMaskFar0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _VerticalTexture0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  RTP_metallic0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  RTP_glossMin0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  RTP_glossMax0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  RTP_DiffFresnel0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  RTP_AO_0123 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _MixScale4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _MixBlend4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorPerLayer4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerBrightness4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerSaturation4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerBrightness2Spec4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerAlbedo2SpecColor4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _MixSaturation4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _MixBrightness4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _MixReplace4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmission4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmissionRefractStrength4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmissionRefractHBedge4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmissionColorR4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmissionColorG4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmissionColorB4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmissionColorA4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorBottom4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorTop4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorColormapLoSat4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorColormapHiSat4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorLayerLoSat4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorLayerHiSat4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorLoBlend4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorHiBlend4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _FarSpecCorrection4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _MIPmult4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_LayerWetStrength4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterLevel4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterLevelSlopeDamp4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterEdge4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_Refraction4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WetRefraction4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_Flow4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WetFlow4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WetGloss4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterMetallic4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterGloss4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterGlossDamper4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterEmission4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterColorR4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterColorG4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterColorB4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterColorA4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _BumpMapGlobalStrength4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  PER_LAYER_HEIGHT_MODIFIER4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthMultA4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthMultB4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthNormal4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthMultASelfMaskNear4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthMultASelfMaskFar4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthMultBSelfMaskNear4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthMultBSelfMaskFar4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _VerticalTexture4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  RTP_metallic4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  RTP_glossMin4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  RTP_glossMax4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  RTP_DiffFresnel4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  RTP_AO_4567 ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _MixScale89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _MixBlend89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorPerLayer89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerBrightness89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerSaturation89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerBrightness2Spec89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerAlbedo2SpecColor89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _MixSaturation89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _MixBrightness89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _MixReplace89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmission89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmissionRefractStrength89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmissionRefractHBedge89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmissionColorR89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmissionColorG89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmissionColorB89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _LayerEmissionColorA89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorBottom89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorTop89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorColormapLoSat89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorColormapHiSat89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorLayerLoSat89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorLayerHiSat89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorLoBlend89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlobalColorHiBlend89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _FarSpecCorrection89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _MIPmult89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_LayerWetStrength89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterLevel89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterLevelSlopeDamp89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterEdge89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_Refraction89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WetRefraction89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_Flow89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WetFlow89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WetGloss89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterMetallic89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterGloss89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterGlossDamper89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterEmission89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterColorR89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterColorG89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterColorB89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  TERRAIN_WaterColorA89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _BumpMapGlobalStrength89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  PER_LAYER_HEIGHT_MODIFIER89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthMultA89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthMultB89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthNormal89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthMultASelfMaskNear89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthMultASelfMaskFar89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthMultBSelfMaskNear89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _SuperDetailStrengthMultBSelfMaskFar89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _VerticalTexture89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  RTP_metallic89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  RTP_glossMin89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  RTP_glossMax89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  RTP_DiffFresnel89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  RTP_AO_89AB ("", Vector) = (1,1,1,1)
//            [HideInInspector]  _GlitterColor ("", Color) = (1,1,1,1)
//            [HideInInspector]  _GlitterStrength0123 ("", Vector) = (0,0,0,0)
//            [HideInInspector]  _GlitterStrength4567 ("", Vector) = (0,0,0,0)
//            [HideInInspector]  _GlitterStrength89AB ("", Vector) = (0,0,0,0)
//            [HideInInspector]  _GlitterTiling ("", Float) = 1
//            [HideInInspector]  _GlitterDensity ("", Float) = 0.5
//            [HideInInspector]  _GlitterFilter ("", Float) = 0
//            [HideInInspector]  _GlitterColorization ("", Float) = 0.5
//            [HideInInspector]  _SparkleMap ("", 2D) = "black" { }
//            [HideInInspector]  _occlusionStrength ("", Range(0,1)) = 1
// 7fe0:      [HideInInspector]  _Phong ("_Phong", Float) = 0.5
// 7fe0:      [HideInInspector]  _TessSubdivisions ("", Float) = 1
// 7fe0:      [HideInInspector]  _TessSubdivisionsFar ("", Float) = 1
// 7fe0:      [HideInInspector]  _TessYOffset ("", Float) = 0
//            }
// 7c00:      Dependency "AddPassShader" = "Hidden/Relief Pack/ReliefTerrain-AddPass"
// 001f:      Fallback Off
// 7c00:      Dependency "BaseMapShader" = "Hidden/Relief Pack/ReliefTerrain-FarOnly"
// 7c00:      Fallback "Diffuse"
//            SubShader 1/1 {
//              LOD 700
// 03e0:        Tags { "QUEUE"="Geometry-100" "RenderType"="Opaque" "SplatCount"="12" }
// 7c00:        Tags { "QUEUE"="Geometry-100" "RenderType"="Opaque" "SplatCount"="4" }
// 001f:        Tags { "QUEUE"="Geometry-99" "IGNOREPROJECTOR"="true" "RenderType"="Opaque" "SplatCount"="4" }
// 7fe0:        Pass 1/4 {
// 001f:        Pass 1/5 {
//                Name "FORWARD"
// 03e0:          Tags { "LIGHTMODE"="ForwardBase" "QUEUE"="Geometry-100" "SHADOWSUPPORT"="true" "RenderType"="Opaque" "SplatCount"="12" }
// 7c00:          Tags { "LIGHTMODE"="ForwardBase" "QUEUE"="Geometry-100" "SHADOWSUPPORT"="true" "RenderType"="Opaque" "SplatCount"="4" }
// 001f:          Tags { "LIGHTMODE"="ForwardBase" "QUEUE"="Geometry-99" "IGNOREPROJECTOR"="true" "SHADOWSUPPORT"="true" "RenderType"="Opaque" "SplatCount"="4" }
// 03e0:          GpuProgramID 54550
// 7c00:          GpuProgramID 63949
// 001f:          ZWrite Off
// 001f:          Blend SrcAlpha OneMinusSrcAlpha
// 001f:          ColorMask RGB
// 001f:          GpuProgramID 39619
//                Program "vp" {
//                  SubProgram "d3d11 " {
// 0842:              GpuProgramIndex 11
// 1084:              GpuProgramIndex 19
// 2108:              GpuProgramIndex 27
// 0421:              GpuProgramIndex 3
// 4210:              GpuProgramIndex 35
//                  }
//                }
//              }
//            }
//          }
//
// 001f: Unity 5.3 headers extracted from ReliefTerrain-AddPass.shader.decompressed:
// 03e0: Unity 5.3 headers extracted from ReliefTerrain-FarOnly.shader.decompressed:
// 7c00: Unity 5.3 headers extracted from ReliefTerrain-FirstPass.shader.decompressed:
//         API d3d11
//         Shader model vs_4_0
//         undeciphered1: 201509030 57 0 0
// 2108:   Keywords { "DIRECTIONAL" "SHADOWS_SCREEN" "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" "DYNAMICLIGHTMAP_OFF" "RTP_PM_SHADING" }
// 0421:   Keywords { "DIRECTIONAL" "SHADOWS_SCREEN" "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" "DYNAMICLIGHTMAP_OFF" "RTP_POM_SHADING_HI" }
// 1084:   Keywords { "DIRECTIONAL" "SHADOWS_SCREEN" "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" "DYNAMICLIGHTMAP_OFF" "RTP_POM_SHADING_LO" }
// 0842:   Keywords { "DIRECTIONAL" "SHADOWS_SCREEN" "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" "DYNAMICLIGHTMAP_OFF" "RTP_POM_SHADING_MED" }
// 4210:   Keywords { "DIRECTIONAL" "SHADOWS_SCREEN" "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" "DYNAMICLIGHTMAP_OFF" "RTP_SIMPLE_SHADING" }
//         undeciphered2: 1 0 4 0 0
//         undeciphered3: 15 4 0 0 2 1 1 2 3 4
//         ConstBuffer "$Globals" 208
//         Vector 192 [_Control_ST]
//         ConstBuffer "UnityPerCamera" 144
//         Vector 80 [_ProjectionParams]
//         ConstBuffer "UnityLighting" 720
//         Vector 0 [_WorldSpaceLightPos0]
//         Vector 656 [unity_SHBr]
//         Vector 672 [unity_SHBg]
//         Vector 688 [unity_SHBb]
//         Vector 704 [unity_SHC]
//         ConstBuffer "UnityPerDraw" 352
//         Vector 336 [unity_WorldTransformParams]
//         Matrix 0 [glstate_matrix_mvp]
//         Matrix 192 [_Object2World]
//         Matrix 256 [_World2Object]
//         BindCB "$Globals" 0
//         BindCB "UnityPerCamera" 1
//         BindCB "UnityLighting" 2
//         BindCB "UnityPerDraw" 3
//
// Headers extracted with DarkStarSword's extract_unity53_shaders.py
// https://raw.githubusercontent.com/DarkStarSword/3d-fixes/master/extract_unity53_shaders.py

// ---- Created with 3Dmigoto v1.2.38 on Thu Feb 09 12:25:29 2017
cbuffer cb3 : register(b3)
{
  float4 cb3[22];
}

cbuffer cb2 : register(b2)
{
  float4 cb2[45];
}

cbuffer cb1 : register(b1)
{
  float4 cb1[6];
}

cbuffer cb0 : register(b0)
{
  float4 cb0[13];
}




// 3Dmigoto declarations
#define cmp -
Texture1D<float4> IniParams : register(t120);
Texture2D<float4> StereoParams : register(t125);


void main( 
  float4 v0 : POSITION0,
  float4 v1 : TANGENT0,
  float3 v2 : NORMAL0,
  float4 v3 : TEXCOORD0,
  float4 v4 : TEXCOORD1,
  float2 v5 : TEXCOORD2,
  float4 v6 : COLOR0,
  out float4 o0 : SV_POSITION0,
  out float4 o1 : TEXCOORD0,
  out float4 o2 : TEXCOORD1,
  out float4 o3 : TEXCOORD2,
  out float4 o4 : TEXCOORD3,
  out float4 o5 : COLOR0,
  out float4 o6 : TEXCOORD4,
  out float4 o7 : TEXCOORD5,
  out float4 o8 : TEXCOORD6)
{
  float4 r0,r1,r2,r3,r4,r5,r6;
  uint4 bitmask, uiDest;
  float4 fDest;

float4 stereo = StereoParams.Load(0);
float separation = stereo.x, convergence = stereo.y, eye = stereo.z;

  r0.xyzw = cb3[1].xyzw * v0.yyyy;
  r0.xyzw = cb3[0].xyzw * v0.xxxx + r0.xyzw;
  r0.xyzw = cb3[2].xyzw * v0.zzzz + r0.xyzw;
  r0.xyzw = cb3[3].xyzw * v0.wwww + r0.xyzw;
  o0.xyzw = r0.xyzw;

// Automatic vertex shader halo fix inserted with DarkStarSword's hlsltool.py:
// hlsltool.py -I ../112 --auto-fix-vertex-halo --fix-unity-reflection --only-autofixed --no-validate --ignore-other-errors 233bd1cd5f5e3596-vs_replace.txt
if (r0.w != 1.0) { r0.x += separation * (r0.w - convergence); }

  o1.xy = v3.xy * cb0[12].xy + cb0[12].zw;
  r1.x = dot(v2.xyz, v2.xyz);
  r1.x = rsqrt(r1.x);
  r1.xyz = v2.xyz * r1.xxx;
  r2.xyz = float3(1,0,9.99999975e-005) * r1.zxy;
  r2.xyz = r1.xyz * float3(9.99999975e-005,1,0) + -r2.xyz;
  r3.xyz = r2.xyz * r1.zxy;
  r2.xyz = r1.yzx * r2.yzx + -r3.xyz;
  r1.w = dot(r2.xyz, r2.xyz);
  r1.w = sqrt(r1.w);
  r1.w = max(9.99999975e-005, r1.w);
  r2.xyz = r2.xyz / r1.www;
  r3.xyz = cb3[13].yzx * r2.yyy;
  r3.xyz = cb3[12].yzx * r2.xxx + r3.xyz;
  r3.xyz = cb3[14].yzx * r2.zzz + r3.xyz;
  r1.w = dot(r3.xyz, r3.xyz);
  r1.w = rsqrt(r1.w);
  r3.xyz = r3.xyz * r1.www;
  r4.x = cb3[16].x;
  r4.y = cb3[17].x;
  r4.zw = cb3[18].xx;
  r5.x = cb3[16].y;
  r5.y = cb3[17].y;
  r5.zw = cb3[18].yy;
  r5.xyzw = r5.xyzw * r1.yyyy;
  r4.xyzw = r4.xyzw * r1.xxxx + r5.xyzw;
  r5.x = cb3[16].z;
  r5.y = cb3[17].z;
  r5.zw = cb3[18].zz;
  r4.xyzw = r5.xyzw * r1.zzzz + r4.xyzw;
  r1.w = dot(r4.xyw, r4.xyw);
  r1.w = rsqrt(r1.w);
  r4.xyzw = r4.xyzw * r1.wwww;
  r5.xyz = r4.wxy * r3.xyz;
  r5.xyz = r4.ywx * r3.yzx + -r5.xyz;
  r5.xyz = -cb3[21].www * r5.xyz;
  o2.y = r5.x;
  r6.xyz = cb3[13].xyz * v0.yyy;
  r6.xyz = cb3[12].xyz * v0.xxx + r6.xyz;
  r6.xyz = cb3[14].xyz * v0.zzz + r6.xyz;
  r6.xyz = cb3[15].xyz * v0.www + r6.xyz;
  o2.w = r6.x;
  o2.x = r3.z;
  o2.z = r4.x;
  o3.w = r6.y;
  o4.w = r6.z;
  o3.z = r4.y;
  o3.x = r3.x;
  o4.x = r3.y;
  o3.y = r5.y;
  o4.y = r5.z;
  o4.z = r4.w;
  r3.xyz = r2.yzx * r1.zxy;
  r3.xyz = r1.yzx * r2.zxy + -r3.xyz;
  r5.xyz = cb3[17].xyz * cb2[0].yyy;
  r5.xyz = cb3[16].xyz * cb2[0].xxx + r5.xyz;
  r5.xyz = cb3[18].xyz * cb2[0].zzz + r5.xyz;
  r5.xyz = cb3[19].xyz * cb2[0].www + r5.xyz;
  r3.y = dot(-r3.xyz, r5.xyz);
  r3.x = dot(r2.xyz, r5.xyz);
  r3.z = dot(r1.xyz, r5.xyz);
  r1.x = dot(r3.xyz, r3.xyz);
  r1.x = rsqrt(r1.x);
  o5.xyz = r3.xyz * r1.xxx;
  o5.w = v6.w;
  r1.x = r4.y * r4.y;
  r1.x = r4.x * r4.x + -r1.x;
  r2.xyzw = r4.xyzw * r4.ywzx;
  r3.x = dot(cb2[41].xyzw, r2.xyzw);
  r3.y = dot(cb2[42].xyzw, r2.xyzw);
  r3.z = dot(cb2[43].xyzw, r2.xyzw);
  o6.xyz = cb2[44].xyz * r1.xxx + r3.xyz;
  r0.y = cb1[5].x * r0.y;
  r1.xzw = float3(0.5,0.5,0.5) * r0.xwy;
  o7.zw = r0.zw;
  o7.xy = r1.xw + r1.zz;
  o8.xyzw = float4(0,0,0,0);
  return;
}
