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
--- FlatLitToonCoreLite.cginc 2018-04-17 22:02:17.000000000 -0700 | |
+++ FlatLitToonCoreLiteFixed.cginc 2018-06-05 02:57:26.000000000 -0700 | |
@@ -29,7 +29,7 @@ | |
float3 bitangentDir : TEXCOORD5; | |
float4 pos : CLIP_POS; | |
SHADOW_COORDS(6) | |
- UNITY_FOG_COORDS(7) | |
+ //UNITY_FOG_COORDS(7) | |
}; | |
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
/* | |
Plaid by Lyuma - 3d version | |
MIT License | |
Copyright (c) 2018 Lyuma | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
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 "LyumaShader/HideAllWithin" { | |
Properties { | |
} | |
SubShader { | |
Tags { "RenderType"="Opaque" "Queue" = "Transparent+2000"} | |
Cull Back | |
// To test: ColorMask R | |
ColorMask 0 | |
ZTest Always | |
ZWrite On |
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 UnityEditor; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
public class MergeUVs : EditorWindow { | |
[MenuItem ("CONTEXT/MeshFilter/Merge UV and UV2")] | |
[MenuItem ("CONTEXT/MeshRenderer/Merge UV and UV2")] |
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
// Upgrade NOTE: replaced '_Object2World' with 'unity_ObjectToWorld' | |
// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)' | |
//Star Nest algorithm by Pablo Román Andrioli | |
//Unity 5.x shader by Jonathan Cohen | |
//This content is under the MIT License. | |
// | |
//Original Shader: | |
//https://www.shadertoy.com/view/XlfGRj | |
// |
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
%YAML 1.1 | |
%TAG !u! tag:unity3d.com,2011: | |
--- !u!74 &7400000 | |
AnimationClip: | |
m_ObjectHideFlags: 0 | |
m_PrefabParentObject: {fileID: 0} | |
m_PrefabInternal: {fileID: 0} | |
m_Name: BehaviourEnabled | |
serializedVersion: 6 | |
m_Legacy: 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 "LyumaShader/InsideSphere" | |
{ | |
Properties | |
{ | |
// Shader properties | |
_Color ("Main Color", Color) = (1,1,1,1) | |
_MainTex ("Base (RGB)", 2D) = "white" {} | |
} | |
SubShader | |
{ |
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
/* | |
AvatarCam.shader, version 8.5 | |
Shows a camera of your own avatar, with support for stereo and separate desktop view. | |
Copyright (c) 2019-2022 Lyuma <[email protected]>, Smash-ter and others | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
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
// Copyright (C) 2019 Lyuma (Lyuma#0781) ([email protected]) | |
// MIT License | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of | |
// this software and associated documentation files (the "Software"), to deal in | |
// the Software without restriction, including without limitation the rights to | |
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | |
// of the Software, and to permit persons to whom the Software is furnished to do | |
// so, subject to the following conditions: | |
// |
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
// Copyright (C) 2019 Lyuma (Lyuma#0781) ([email protected]) | |
// MIT License | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of | |
// this software and associated documentation files (the "Software"), to deal in | |
// the Software without restriction, including without limitation the rights to | |
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | |
// of the Software, and to permit persons to whom the Software is furnished to do | |
// so, subject to the following conditions: | |
// |
OlderNewer