Skip to content

Instantly share code, notes, and snippets.

@xDavidLeon
xDavidLeon / ToonDeferredShading2017.shader
Created May 18, 2017 14:43
Unity 5.6 Deferred Cel Shading Modification
// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt)
// Modifications by David Leon. Copyright (c) 2017 Lince Works SL. MIT license (see license.txt)
Shader "ToonDeferredShading2017" {
Properties {
_LightTexture0 ("", any) = "" {}
_LightTextureB0 ("", 2D) = "" {}
_ShadowMapTexture ("", any) = "" {}
_SrcBlend ("", Float) = 1
_DstBlend ("", Float) = 1
@tsubaki
tsubaki / LogTest.cs
Last active May 19, 2023 02:45
ログの出力を停止する
using UnityEngine;
using System.Collections;
public class LogTest : MonoBehaviour
{
// ゲーム開始前に呼び出す
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
static void Init () {
Debug.logger.logEnabled = false; // ←ログを止める
}
@mono0926
mono0926 / commit_message_example.md
Last active July 20, 2024 08:30
[転載] gitにおけるコミットログ/メッセージ例文集100