Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
41 lines
382 B
Plaintext
41 lines
382 B
Plaintext
|
|
|
|
// Declare pixel shader version 1.0
|
|
ps.1.1
|
|
|
|
|
|
|
|
def c1, 0.5, 0.5, 0.5, 0.5
|
|
def c2, 0.7, 0.7, 0.7, 0.7
|
|
def c3, 1.0, 1.0, 1.0, 1.0
|
|
|
|
|
|
|
|
tex t0
|
|
|
|
|
|
|
|
texm3x2pad t2, t0_bx2
|
|
texm3x2tex t3, t0_bx2
|
|
|
|
|
|
|
|
mov r0, t3
|
|
|
|
|
|
dp3 r1.rgba, t0_bx2, v0_bx2
|
|
|
|
|
|
|
|
mad r0.a, r1.a, c1.a, c1.a
|
|
mul r0.a, r0.a, r0.a
|
|
mul r0.a, r0.a, r0.a
|
|
|
|
// ¾ËÆÄ ¼¼ÆÃ
|
|
// use this line to set alpha to 0
|
|
;mov r0.a, 1-c3
|
|
|
|
|
|
|
|
|