Skip to content

Instantly share code, notes, and snippets.

/*
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
@lyuma
lyuma / fix-cubed-afterimage.patch
Created June 5, 2018 17:43
Patch that fixes an an afterimage issue in Cubed's Toon Lite shader
--- 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)
};