This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Harmony; | |
using ICities; | |
using System; | |
using System.Reflection; | |
using UnityEngine; | |
using UnityEngine.Rendering; | |
namespace ShadowSettingsAdjuster | |
{ | |
/// <summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Script based off @boformer script called "Large Decals" | |
// https://gist.github.com/boformer/624eef5ffc8686cb5f12377f1be855f9 | |
// In addition to making the decal size and slope tolerance, | |
// this script looks for textures called decal_a.png or decal_d.png (etc) | |
// in the textures folder and replace them if they are found. | |
// Textures import code taken from the RealTime mod code (@Ronyx69). | |
// https://gist.github.com/ronyx69/9c0026648d26b1e1b09cb8ec8a831b17 | |
// Warning: Do not save vehicles after running this script without a game restart! |