Initial commit: ROW Client source code
Game client codebase including: - CharacterActionControl: Character and creature management - GlobalScript: Network, items, skills, quests, utilities - RYLClient: Main client application with GUI and event handlers - Engine: 3D rendering engine (RYLGL) - MemoryManager: Custom memory allocation - Library: Third-party dependencies (DirectX, boost, etc.) - Tools: Development utilities 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
31
Library/dxx8/samples/Multimedia/Media/shadowbumpshader.psh
Normal file
31
Library/dxx8/samples/Multimedia/Media/shadowbumpshader.psh
Normal file
@@ -0,0 +1,31 @@
|
||||
ps.1.1
|
||||
|
||||
def c2, 0.0f,0.0f,0.0f,1.0f
|
||||
|
||||
tex t0 // basis map channels 1-4
|
||||
tex t1 // horizon map channels 1-4
|
||||
tex t2 // basis map channels 5-8
|
||||
tex t3 // horizon map channels 5-8
|
||||
|
||||
dp3_sat r0.rgb, t0_bx2,t1_bx2 // combine channels 1-3
|
||||
+ mul_sat r0.a, t0_bx2, t1_bx2 // combine channel 4
|
||||
dp3_sat r1.rgb, t2_bx2,t3_bx2 // combine channels 5-7
|
||||
+ mul_sat r1.a, t2_bx2, t3_bx2 // combine channel 8
|
||||
add r1, r0, r1 // sum color channels
|
||||
add r0.rgb, r1, r1.a // sum in alpha channels
|
||||
sub_x4 r0.rgb, r0, v0_bx2 // compare with light direction
|
||||
// mov_x4 r0,r0
|
||||
// mov r0,v0
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user