修复一堆bug 加入粒子系统代替原击打特效 焕新长音符逻辑 修复多重计分 更新判定管理和音符生成器 搞了一个免费包
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
// Simplified Additive Particle shader. Differences from regular Additive Particle one:
|
||||
// - no Tint color
|
||||
// - no Smooth particle support
|
||||
// - no AlphaTest
|
||||
// - no ColorMask
|
||||
|
||||
// Cartoon FX difference:
|
||||
// - uses Alpha8 monochrome textures to save up on texture memory size
|
||||
|
||||
Shader "Cartoon FX/Legacy/Particles Additive Alpha8"
|
||||
{
|
||||
Properties
|
||||
{
|
||||
_MainTex ("Particle Texture (Alpha8)", 2D) = "white" {}
|
||||
}
|
||||
|
||||
Category
|
||||
{
|
||||
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" }
|
||||
Blend SrcAlpha One
|
||||
Cull Off Lighting Off ZWrite Off Fog { Color (0,0,0,0) }
|
||||
|
||||
BindChannels
|
||||
{
|
||||
Bind "Color", color
|
||||
Bind "Vertex", vertex
|
||||
Bind "TexCoord", texcoord
|
||||
}
|
||||
|
||||
SubShader
|
||||
{
|
||||
Pass
|
||||
{
|
||||
SetTexture [_MainTex]
|
||||
{
|
||||
combine primary, texture * primary
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user