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
Shader "Onoty3D/Toon/Phong Tessellation/Lit" { | |
Properties { | |
_Color ("Main Color", Color) = (0.5,0.5,0.5,1) | |
_MainTex ("Base (RGB)", 2D) = "white" {} | |
_Ramp ("Toon Ramp (RGB)", 2D) = "gray" {} | |
[Enum(OFF,0,FRONT,1,BACK,2)] _CullMode("Cull Mode", int) = 2 //OFF/FRONT/BACK | |
_EdgeLength("Edge length", Range(2,50)) = 5 | |
_Phong("Phong Strengh", Range(0,1)) = 0.5 | |
} |
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 UnityEngine; | |
namespace PronamaChan | |
{ | |
public class EquipmentsChanger2 : MonoBehaviour | |
{ | |
public Material TransparentMaterial; |
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; | |
namespace Onoty3D | |
{ | |
[ExecuteInEditMode] | |
public class DepthImageEffect : MonoBehaviour | |
{ | |
public enum YDirectionType | |
{ | |
Forward, |
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; | |
namespace Onoty3D | |
{ | |
[ExecuteInEditMode] | |
public class OnePointColorEffect : MonoBehaviour | |
{ | |
public Material Material; | |
public Color TargetColor = Color.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
using System; | |
using System.Collections.Generic; | |
using UnityEngine; | |
namespace PronamaChan | |
{ | |
public class EquipmentsChanger : MonoBehaviour | |
{ | |
public Material TransparentMaterial; | |
public SkinnedMeshRenderer SkinnedMesh; |
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
Shader "Onoty3D/Toon/Basic Cutout" { | |
Properties{ | |
_Color("Main Color", Color) = (.5,.5,.5,1) | |
_MainTex("Base (RGB)", 2D) = "white" {} | |
_ToonShade("ToonShader Cubemap(RGB)", CUBE) = "" { } | |
_Cutoff("Alpha Cutoff", Range(0,1)) = 0.5 | |
} | |
SubShader{ |
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
Shader "Onoty3D/ChromaKey" { | |
Properties{ | |
_KeyColor("Key Color", Color) = (0,1,0) | |
_Near("Near", Range(0, 2)) = 0.2 | |
_MainTex("Base (RGB) Trans (A)", 2D) = "white" {} | |
} | |
SubShader{ | |
Tags{ "Queue" = "Transparent" "IgnoreProjector" = "True" "RenderType" = "Transparent" } | |
LOD 200 |
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; | |
public class EyeRotator : MonoBehaviour | |
{ | |
public Vector3 RotationL; | |
public Vector3 RotationR; | |
private Animator _animator; | |
// Use this for initialization |
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.Linq; | |
using UnityEditor; | |
using UnityEngine; | |
public class SubMeshExporter : ScriptableObject | |
{ | |
// Use this for initialization | |
private void Start() | |
{ | |
} |
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
Shader "Onoty3D/Toon/Lit" { | |
Properties { | |
_Color ("Main Color", Color) = (0.5,0.5,0.5,1) | |
_MainTex ("Base (RGB)", 2D) = "white" {} | |
_Ramp ("Toon Ramp (RGB)", 2D) = "gray" {} | |
[Enum(OFF,0,FRONT,1,BACK,2)] _CullMode("Cull Mode", int) = 2 //OFF/FRONT/BACK | |
_StencilRefMain("Stcl Ref Main", Range(0, 255)) = 128 | |
} | |
SubShader { |