From 53690ae099a15cd7bc320da8083a7b3bb65e301f Mon Sep 17 00:00:00 2001 From: ozonexo3 Date: Wed, 11 Jul 2018 08:16:55 +0200 Subject: [PATCH] WIP4 v0.603 --- Assets/GFX/Shaders/FaTerrainShader.shader | 6 +- Assets/GFX/Shaders/grid_build_texture.png | Bin 7886 -> 7886 bytes Assets/MapEditor.unity | 69 +++++++------- Assets/Scripts/Camera/CameraControlerCam.cs | 2 +- .../Scripts/HazardX SCMAP Code/DecalShared.cs | 5 +- .../Scripts/HazardX SCMAP Code/SkyboxData.cs | 2 + .../GetGamedataFile/GetGamedataFile_Unit.cs | 58 ++++++++++-- .../Scripts/Ozone SCMAP Code/MapLuaParser.cs | 8 +- .../Scripts/Ozone SCMAP Code/ScmapEditor.cs | 35 ++------ .../Texture/GenerateControlTex.cs | 84 ++++++++++++++---- .../Selection/SelectionManager_Ring.cs | 7 +- Assets/Scripts/UI/AppMenu/AppMenu.cs | 4 +- Assets/Scripts/UI/AppMenu/AppMenu_SaveAs.cs | 15 +++- .../Scripts/UI/Tools/Stratum/StratumInfo.cs | 11 ++- Assets/Scripts/UI/Tools/TerrainInfo.cs | 16 ++-- Assets/Scripts/UI/Tools/Units/UnitSource.cs | 4 +- 16 files changed, 216 insertions(+), 110 deletions(-) diff --git a/Assets/GFX/Shaders/FaTerrainShader.shader b/Assets/GFX/Shaders/FaTerrainShader.shader index dda4641e..d9d38beb 100644 --- a/Assets/GFX/Shaders/FaTerrainShader.shader +++ b/Assets/GFX/Shaders/FaTerrainShader.shader @@ -343,8 +343,8 @@ Properties { else SlopeColor = half3(1, 0, 0); } - Emit = SlopeColor * 0.5; - col.rgb = lerp(col.rgb, SlopeColor, 0.5); + Emit = SlopeColor * 0.8; + col.rgb = lerp(col.rgb, 0, 0.8); } else if (_Water > 0) col.rgb = ApplyWaterColor(WaterDepth, col.rgb); @@ -437,5 +437,5 @@ Properties { } -FallBack "Diffuse" +//FallBack "Diffuse" } diff --git a/Assets/GFX/Shaders/grid_build_texture.png b/Assets/GFX/Shaders/grid_build_texture.png index 2df37ef923d780b066ac4cbabe706e85c10f4358..718f18839b9a9cbfb2b59cf72d721bfe38b61bc4 100644 GIT binary patch delta 169 zcmX?Sd(L))Gc&KbuAxDQfti)DrInG{a6Yl%yonH1o{|nRhX}5~ET{p}54gti-B3BQ?)f$;iOaLe~J*6$jYY PvB({Y+PS%iBSs7W{3|Z~ delta 169 zcmX?Sd(L))Gc&K5uCYOgfti(|nU#Uj