Skip to content

Instantly share code, notes, and snippets.

View Deeheks's full-sized avatar

Jeff Deeheks

  • Canada
View GitHub Profile
@DaEgi01
DaEgi01 / ShadowSettingsAdjuster.cs
Last active May 3, 2023 00:24
Cities Skylines - Shadow Settings Adjuster
using Harmony;
using ICities;
using System;
using System.Reflection;
using UnityEngine;
using UnityEngine.Rendering;
namespace ShadowSettingsAdjuster
{
/// <summary>
@ronyx69
ronyx69 / NaturalResourceTexture.cs
Last active April 5, 2018 15:11
Imports a natural resource texture and applies the resource values to all cells on the map.
// Natural Resource Texture Importer
// Imports a natural resource texture and applies the resource values to all cells on the map.
// Texture name and location must be gamefolder/textures/res.png
// Resolution is 512x512
//
// Channel explanation:
// Default value for all channels is 128.
//
// Red (128-0) Oil (inverted)