Skip to content

Instantly share code, notes, and snippets.

sbmjob

Block or report user

Report or block sbmjob

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sbmjob
sbmjob / Butterfly_ForWeb.shader
Created Dec 4, 2018
Vertex Shader Butterfly
View Butterfly_ForWeb.shader
Shader "Unlit/Butterfly_ForWeb"{
Properties{
_MainTex ("Texture", 2D) = "white" {}
}
SubShader{
Tags { "RenderType"="Opaque" }
LOD 100
Cull Off
Pass{
View Mask_Transparent_ForWeb.shader
Shader "Custom/Mask_Transparent_ForWeb"
{
Properties {
_MainTex ("Albedo (RGB)", 2D) = "white" {}
}
SubShader {
Tags
{
"Queue" = "Transparent"
View ClipShader_ForWeb.shader
Shader "Unlit/ClipShader_ForWeb"{
Properties{
_MainTex ("Texture", 2D) = "white" {}
}
SubShader{
Tags { "RenderType"="Opaque" }
LOD 100
Cull Off
@sbmjob
sbmjob / AlphaTest_ForWeb.shader
Last active Dec 4, 2018
Custom Shader AlphaTest for Unity
View AlphaTest_ForWeb.shader
Shader "Custom/AlphaTest_ForWeb" {
Properties {
_MainTex ("Albedo (RGB)", 2D ) = "white" {}
_Cutoff ("Cutoff" , Range(0, 1)) = 0.5
}
SubShader {
Tags {
"Queue" = "AlphaTest"
"RenderType" = "TransparentCutout"
You can’t perform that action at this time.