mirror of
https://github.com/imperialsushi/gutterball-3.git
synced 2025-06-15 05:07:42 +00:00
New Version 1.6
New 125 balls & powerups. Improved graphics.
This commit is contained in:
parent
b35433ae45
commit
71779ef7ac
9413 changed files with 193360 additions and 264803 deletions
|
@ -0,0 +1,26 @@
|
|||
Shader "Projector/Light" {
|
||||
Properties {
|
||||
_Color ("Main Color", Color) = (1,1,1,1)
|
||||
_ShadowTex ("Cookie", 2D) = "" { TexGen ObjectLinear }
|
||||
_FalloffTex ("FallOff", 2D) = "" { TexGen ObjectLinear }
|
||||
}
|
||||
Subshader {
|
||||
Pass {
|
||||
ZWrite off
|
||||
Fog { Color (0, 0, 0) }
|
||||
Color [_Color]
|
||||
ColorMask RGB
|
||||
Blend DstColor One
|
||||
Offset -1, -1
|
||||
SetTexture [_ShadowTex] {
|
||||
combine texture * primary, ONE - texture
|
||||
Matrix [_Projector]
|
||||
}
|
||||
SetTexture [_FalloffTex] {
|
||||
constantColor (0,0,0,0)
|
||||
combine previous lerp (texture) constant
|
||||
Matrix [_ProjectorClip]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue