Skip to content

Instantly share code, notes, and snippets.

Shader "Test/SmoothZoomTexture"
{
Properties
{
_MainTex ("Texture", 2D) = "white" {}
[KeywordEnum(Basic,Manual,Blend,Compare)]Mode("Mode", Int) = 0
_Blend("Blend", Range(0,1)) = 1
[Header(Mip Map)]
_MipMapMin("MipMap Min", Int) = 4
Shader "TextMeshPro/Pixel" {
Properties {
_MainTex ("Font Atlas", 2D) = "white" {}
_FaceTex ("Font Texture", 2D) = "white" {}
[HDR]_FaceColor ("Text Color", Color) = (1,1,1,1)
[HDR]_OutlineColor("Outline Color", Color) = (0,0,0,0)
[HDR]_DropShadowColor("Drop Shadow Color", Color) = (0,0,0,0)
@Hugosslade
Hugosslade / dabblet.css
Created June 5, 2012 18:16
Fuzzy Search Box
/**
* Fuzzy Search Box
*/
html {
background: hsl(0,0%,15%);
min-height: 100%;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
}
@Hugosslade
Hugosslade / tooltip.css
Created August 6, 2011 10:33
Using the \0020 character in pseudo elements
#tooltip {
position: absolute;
left: 0px;
top:0px;
height: 40px;
background: #444;
color:#fff;
margin-top:-20px;
z-index:999;
-webkit-box-sizing: border-box;