home *** CD-ROM | disk | FTP | other *** search
- shader()
- {
- cull("none")
- sortweight("sprite")
-
- pass()
- {
- pixelshader("ColorGlowApply.psh")
-
- // blurred glow
- tmu()
- {
- texture()
- {
- mapchannel(0)
- usermap(0)
-
- addressfunc("clamp", "clamp", "clamp")
- filtering("linear_no_mip")
- }
- }
-
- // original buffer
- tmu()
- {
- texture()
- {
- mapchannel(0)
- usermap(1)
-
- addressfunc("clamp", "clamp", "clamp")
- filtering("linear_no_mip")
- }
- }
- blendfunc("src_alpha", "inv_src_alpha")
- depthfunc("always", 0)
- nofog()
- }
- }
-
-