This file contains 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
// 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 |
This file contains 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
#ifndef UNITY_STANDARD_BRDF_INCLUDED | |
#define UNITY_STANDARD_BRDF_INCLUDED | |
#include "UnityCG.cginc" | |
#include "UnityStandardConfig.cginc" | |
#include "UnityLightingCommon.cginc" | |
//------------------------------------------------------------------------------------- | |
// Legacy, to keep backwards compatibility for (pre Unity 5.3) custom user shaders: | |
#define unity_LightGammaCorrectionConsts_PIDiv4 (IsGammaSpace()? (UNITY_PI/4)*(UNITY_PI/4): (UNITY_PI/4)) |
This file contains 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
// Toony Colors Pro+Mobile 2 | |
// (c) 2014,2015 Jean Moreno | |
// Modified by David Leon (Lince Works) | |
Shader "Toony Colors Pro 2/LDK/Basic" | |
{ | |
Properties | |
{ | |
//TOONY COLORS |
This file contains 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
// Toony Colors Pro+Mobile 2 | |
// (c) 2014,2015 Jean Moreno | |
Shader "Toony Colors Pro 2/LDK/Basic" | |
{ | |
Properties | |
{ | |
//TOONY COLORS | |
_Color ("Color", Color) = (0.5,0.5,0.5,1.0) |
This file contains 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
Shader "Custom/CelShadingForward" { | |
Properties { | |
_Color("Color", Color) = (1, 1, 1, 1) | |
_MainTex("Albedo (RGB)", 2D) = "white" {} | |
} | |
SubShader { | |
Tags { | |
"RenderType" = "Opaque" | |
} | |
LOD 200 |
This file contains 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 System.Collections.Generic; | |
public class Dungeon : MonoSingleton<Dungeon> | |
{ | |
[System.Serializable] | |
public class Position | |
{ | |
public int x = 0; |
This file contains 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
Shader "Leon/Test" { | |
Properties { | |
_MainTex ("Texture", 2D) = "white" {} | |
_Emissive ("Emissive", 2D) = "black" {} | |
_BumpMap ("Bumpmap", 2D) = "bump" {} | |
} | |
SubShader { | |
Tags { "RenderType" = "Opaque" } | |
CGPROGRAM | |
#pragma surface surf Leon |