This commit is contained in:
2025-05-13 05:18:03 +03:00
parent 0790b782f2
commit 2ca246b75c
1494 changed files with 22057 additions and 0 deletions
@@ -0,0 +1,5 @@
fileFormatVersion: 2
guid: ca1d9a879c25e42b290503fe320c9347
folderAsset: yes
DefaultImporter:
userData:
@@ -0,0 +1,31 @@
Shader "Mobile/Legacy/Lightmap/Lightmap AlphaTest"
{
Properties
{
_Color ("Main Color", Color) = (1,1,1,1)
_MainTex ("Base (RGB)", 2D) = "white" {}
_LightMap ("Lightmap (RGB)", 2D) = "white" { LightmapMode }
_Cutoff ("Alpha cutoff", Range(0,1)) = 0.5
}
SubShader
{
Pass
{
Name "BASE"
Alphatest Greater [_Cutoff]
BindChannels {
Bind "Vertex", vertex
Bind "texcoord1", texcoord0 // lightmap uses 2nd uv
Bind "texcoord", texcoord1 // main uses 1st uv
}
SetTexture [_LightMap] {
combine texture
}
SetTexture [_MainTex] {
combine texture * previous, texture
}
}
}
}
@@ -0,0 +1,5 @@
fileFormatVersion: 2
guid: e14df94c1bd5d475bb0fb92fefa1f00d
ShaderImporter:
defaultTextures: []
userData:
@@ -0,0 +1,31 @@
Shader "Mobile/Legacy/Lightmap/Lightmap Only"
{
Properties
{
_Color ("Main Color", Color) = (1,1,1,1)
_MainTex ("Base (RGB)", 2D) = "white" {}
_LightMap ("Lightmap (RGB)", 2D) = "black" { LightmapMode }
}
SubShader
{
Pass
{
Name "BASE"
Tags {"LightMode" = "Always"}
BindChannels {
Bind "Vertex", vertex
Bind "texcoord1", texcoord0 // lightmap uses 2nd uv
Bind "texcoord", texcoord1 // main uses 1st uv
}
SetTexture [_LightMap] {
constantColor [_Color]
combine texture * constant
}
SetTexture [_MainTex] {
combine texture * previous
}
}
}
}
@@ -0,0 +1,5 @@
fileFormatVersion: 2
guid: 9732e64c49e904ff2a10fc7794607fcf
ShaderImporter:
defaultTextures: []
userData:
@@ -0,0 +1,71 @@
Shader "Mobile/Legacy/Lightmap/Reflective"
{
Properties
{
_Color ("Main Color", Color) = (1,1,1,1)
_MainTex ("Base (RGB)", 2D) = "white" {}
_LightMap ("Lightmap (RGB)", 2D) = "white" { LightmapMode }
_Reflect ("Reflection", 2D) = "black" { TexGen SphereMap }
}
SubShader
{
Pass
{
Name "BASE"
BindChannels {
Bind "Vertex", vertex
Bind "texcoord1", texcoord0 // lightmap uses 2nd uv
Bind "texcoord", texcoord1 // main uses 1st uv
}
SetTexture [_LightMap] {
combine texture
}
SetTexture [_MainTex] {
combine texture * previous
}
}
/* This pass uses vertex information to control Reflection
Pass
{
Name "REFLECT"
ZWrite Off
Blend SrcAlpha OneMinusSrcAlpha
ColorMaterial AmbientAndDiffuse
Lighting Off
BindChannels {
Bind "Vertex", vertex
Bind "normal", normal
}
SetTexture [_Reflect] {
combine texture, primary
}
}*/
// Use this pass, if you want to fetch alpha from main texture instead
Pass
{
Name "REFLECT"
ZWrite Off
Blend SrcAlpha OneMinusSrcAlpha
BindChannels {
Bind "Vertex", vertex
Bind "normal", normal
Bind "texcoord", texcoord0 // main uses 1st uv
}
SetTexture [_MainTex] {
combine texture
}
SetTexture [_Reflect] {
combine texture, previous
}
}
}
}
@@ -0,0 +1,5 @@
fileFormatVersion: 2
guid: af040a092e2114e9fbd6fab7402e066d
ShaderImporter:
defaultTextures: []
userData:
@@ -0,0 +1,5 @@
fileFormatVersion: 2
guid: 44b96e31814694584b1c35fec7dc42ea
folderAsset: yes
DefaultImporter:
userData:
@@ -0,0 +1,19 @@
Shader "Mobile/Background" {
Properties {
_MainTex ("Base (RGB)", 2D) = "white" {}
}
SubShader {
Pass {
Tags {"Queue" = "Background" }
Material { }
Lighting Off
Zwrite off
Fog { Mode Off }
SetTexture [_MainTex] {
Combine texture
}
}
}
}
@@ -0,0 +1,5 @@
fileFormatVersion: 2
guid: c494c890ec8664fd9aa7d66ebfa1a7e6
ShaderImporter:
defaultTextures: []
userData:
@@ -0,0 +1,23 @@
Shader "Mobile/Diffuse Detail" {
Properties {
_Color ("Main Color", Color) = (1,1,1,1)
_MainTex ("Base (RGB)", 2D) = "white" {}
_Detail ("Detail (RGB)", 2D) = "gray" {}
}
SubShader {
Pass{
Material{
Diffuse [_Color]
}
Lighting On
Fog { Mode Off }
SetTexture [_MainTex] { combine texture * primary Double, texture * primary}
SetTexture [_Detail] { combine previous * texture Double, previous}
}
}
FallBack "VertexLit", 2
}
@@ -0,0 +1,5 @@
fileFormatVersion: 2
guid: 5baab583450424889aad7f3f40e9fba5
ShaderImporter:
defaultTextures: []
userData:
@@ -0,0 +1,5 @@
fileFormatVersion: 2
guid: da8e93600ecdd4feca9cfb553a314e48
folderAsset: yes
DefaultImporter:
userData:
@@ -0,0 +1,39 @@
Shader "Mobile/Particles/Multiply Culled" {
Properties {
_MainTex ("Main Texture", 2D) = "white" {}
}
Category {
Tags { "Queue" = "Transparent" }
Blend Zero SrcColor
Lighting Off ZWrite Off Fog { Mode Off }
BindChannels {
Bind "Color", color
Bind "Vertex", vertex
Bind "TexCoord", texcoord
}
// ---- Dual texture cards
SubShader {
Pass {
SetTexture [_MainTex] {
combine texture * primary
}
SetTexture [_MainTex] {
constantColor (1,1,1,1)
combine previous lerp (previous) constant
}
}
}
// ---- Single texture cards (does not do particle colors)
SubShader {
Pass {
SetTexture [_MainTex] {
constantColor (1,1,1,1)
combine texture lerp(texture) constant
}
}
}
}
}
@@ -0,0 +1,5 @@
fileFormatVersion: 2
guid: 830b18403dea84783b74345dea9f0606
ShaderImporter:
defaultTextures: []
userData:
@@ -0,0 +1,41 @@
Shader "Mobile/Particles/Additive Culled" {
Properties {
_TintColor ("Tint Color", Color) = (0.5,0.5,0.5,0.5)
_MainTex ("Particle Texture", 2D) = "white" {}
}
Category {
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" }
Blend SrcAlpha One
AlphaTest Greater .01
ColorMask RGB
Cull Back Lighting Off ZWrite Off Fog { Mode Off }
BindChannels {
Bind "Color", color
Bind "Vertex", vertex
Bind "TexCoord", texcoord
}
// ---- Dual texture cards
SubShader {
Pass {
SetTexture [_MainTex] {
constantColor [_TintColor]
combine constant * primary
}
SetTexture [_MainTex] {
combine texture * previous DOUBLE
}
}
}
// ---- Single texture cards (does not do color tint)
SubShader {
Pass {
SetTexture [_MainTex] {
combine texture * primary
}
}
}
}
}
@@ -0,0 +1,5 @@
fileFormatVersion: 2
guid: 73b473491223046b3bccb04fdb29c994
ShaderImporter:
defaultTextures: []
userData:
@@ -0,0 +1,5 @@
fileFormatVersion: 2
guid: 28776ef410870442b8d64e6ce9a3d548
folderAsset: yes
DefaultImporter:
userData:
@@ -0,0 +1,38 @@
Shader "Mobile/Transparent/Vertex Color" {
Properties {
_Color ("Main Color", Color) = (1,1,1,1)
_SpecColor ("Spec Color", Color) = (1,1,1,0)
_Emission ("Emmisive Color", Color) = (0,0,0,0)
_Shininess ("Shininess", Range (0.1, 1)) = 0.7
_MainTex ("Base (RGB) Trans (A)", 2D) = "white" {}
}
Category {
Tags {"Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"}
ZWrite Off
Alphatest Greater 0
Blend SrcAlpha OneMinusSrcAlpha
SubShader {
Material {
Diffuse [_Color]
Ambient [_Color]
Shininess [_Shininess]
Specular [_SpecColor]
Emission [_Emission]
}
Pass {
ColorMaterial AmbientAndDiffuse
Fog { Mode Off }
Lighting Off
SeparateSpecular On
SetTexture [_MainTex] {
Combine texture * primary, texture * primary
}
SetTexture [_MainTex] {
constantColor [_Color]
Combine previous * constant DOUBLE, previous * constant
}
}
}
}
}
@@ -0,0 +1,5 @@
fileFormatVersion: 2
guid: e1f50dc041f1545edbb228f8daea22a1
ShaderImporter:
defaultTextures: []
userData:
@@ -0,0 +1,31 @@
Shader "Mobile/Vertex Colored" {
Properties {
_Color ("Main Color", Color) = (1,1,1,1)
_SpecColor ("Spec Color", Color) = (1,1,1,1)
_Emission ("Emmisive Color", Color) = (0,0,0,0)
_Shininess ("Shininess", Range (0.01, 1)) = 0.7
_MainTex ("Base (RGB)", 2D) = "white" {}
}
SubShader {
Pass {
Material {
Shininess [_Shininess]
Specular [_SpecColor]
Emission [_Emission]
}
ColorMaterial AmbientAndDiffuse
Lighting Off
Fog { Mode Off }
SetTexture [_MainTex] {
Combine texture * primary, texture * primary
}
SetTexture [_MainTex] {
constantColor [_Color]
Combine previous * constant DOUBLE, previous * constant
}
}
}
Fallback " VertexLit", 1
}
@@ -0,0 +1,5 @@
fileFormatVersion: 2
guid: 0e7ed4fbd9924480bbb918e339c570e6
ShaderImporter:
defaultTextures: []
userData: