EDIT: this is an old post and a lof the information in this document is outdated.
Git is a popular free and open source distributed version control system.
I am new to Unity, but as a long time git user, I wanted to use git for my
Shader "Custom/VertexBlendMaskedCleanEdges" { | |
Properties | |
{ | |
_Over ("Over", 2D) = "white" {} | |
_Under ("Under", 2D) = "white" {} | |
_Mask ("Mask", 2D) = "white" {} | |
_Bias ("Edge Bias", Range(0.5, 30.0)) = 4.0 | |
_Edge ("Edge Sharpness", Float) = 10.0 | |
_Fall ("Blend Falloff", Float) = 1.0 | |
} |
; how to write scripts: http://www.autohotkey.com/docs/ | |
#IfWinActive ahk_class CabinetWClass ; File Explorer | |
^Backspace:: | |
#IfWinActive ahk_class Notepad | |
^Backspace:: | |
Send ^+{Left}{Backspace} | |
#IfWinActive | |
; source and context: http://superuser.com/a/636973/124606 |
[merge] | |
tool = intellij | |
# tool = Kaleidoscope | |
[diff] | |
tool = intellij | |
# tool = Kaleidoscope | |
# intellij mergetool config | |
[mergetool "intellij"] | |
cmd = /Applications/IntelliJ\\ IDEA\ 13\\ CE.app/Contents/MacOS/idea merge $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE") $(cd $(dirname "$BASE") && pwd)/$(basename "$BASE") $(cd $(dirname "$MERGED") && pwd)/$(basename "$MERGED") |
EDIT: this is an old post and a lof the information in this document is outdated.
Git is a popular free and open source distributed version control system.
I am new to Unity, but as a long time git user, I wanted to use git for my
//#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 |