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
| /*============================================================================= | |
| This work is licensed under the | |
| Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) License | |
| https://creativecommons.org/licenses/by-nc/4.0/ | |
| Original developer: Jak0bPCoder | |
| Optimization by : Marty McFly | |
| Compatibility by : MJ_Ehsan | |
| =============================================================================*/ |
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
| /*============================================================================= | |
| ReShade 5 effect file | |
| github.com/martymcmodding | |
| Author: Pascal Gilcher / Marty McFly | |
| ReShade Motion Estimation Shader for dense 2D UV-space motion vectors | |
| Based on ReShade Motion Estimation by Jakob Wapenhensch | |
| (https://github.com/JakobPCoder/ReshadeMotionEstimation) |
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 UnityEngine; | |
| using System.Collections; | |
| using UnityEditor; | |
| public class MeshInfo : EditorWindow | |
| { | |
| bool showLOD1info = false; | |
| bool showLOD2info = false; | |
| bool showLOD3info = false; | |
| bool showLOD4info = false; |
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 System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using UnityEditor; | |
| using UnityEngine; | |
| using Object = UnityEngine.Object; | |
| public class MaterialGradientDrawer : MaterialPropertyDrawer { | |
| private int resolution; |
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
| // ==UserScript== | |
| // @name Fix Old Asset Store Links | |
| // @version 1 | |
| // @include https://www.assetstore.unity3d.com/* | |
| // @grant none | |
| // ==/UserScript== | |
| // get current url | |
| var URL = window.location.href; |
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
| //#define SHADER_COMPILATION_LOGGING | |
| //#define SKIP_SHADER_COMPILATION | |
| using System.Collections.Generic; | |
| using UnityEditor.Build; | |
| using UnityEditor.Rendering; | |
| using UnityEngine; | |
| using UnityEngine.Rendering; | |
| public class ShaderStripper : IPreprocessShaders |
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 UnityEngine; | |
| using System.Collections; | |
| // Adapted from https://jacksondunstan.com/articles/3718 | |
| public static class CoroutineUtils | |
| { | |
| // Calls a coroutine but if there's an error in that coroutine, it'll log the error & return | |
| // instead of just killing the caller. | |
| // | |
| // Call it like this: |
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
| // idea from https://twitter.com/akivaw/status/1226681850564956160 | |
| // blog post https://unitycoder.com/blog/2020/03/01/waves-shader/ | |
| Shader "UnityLibrary/Mesh/DriftingWaves" | |
| { | |
| Properties | |
| { | |
| _Color ("Color", Color) = (1,1,1,1) | |
| _MainTex ("Albedo (RGB)", 2D) = "white" {} | |
| _FoamTex ("Foam", 2D) = "white" {} |
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
| // TODO: Do fresnel the ronja way | |
| Shader "HCF/3D/Toon Lit" { | |
| Properties { | |
| _MainTex("Albedo (RGB)", 2D) = "white" {} | |
| _Tint("Tint", Color) = (1, 1, 1, 1) | |
| [Header(Lighting)] | |
| [Toggle] | |
| _UseRampText("Use Ramp Texture", Float) = 0 | |
| [NoScaleOffset] | |
| _RampTex("Ramp Texture (Greyscale)", 2D) = "white" {} |



