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:
19
Library/dxx8/samples/Multimedia/Media/fogshader.vsh
Normal file
19
Library/dxx8/samples/Multimedia/Media/fogshader.vsh
Normal file
@@ -0,0 +1,19 @@
|
||||
vs.1.0
|
||||
def c40, 0.0f,0.0f,0.0f,0.0f;
|
||||
;transform into projection space
|
||||
m4x4 r0,v0,c8
|
||||
max r0.z,c40.z,r0.z //clamp to 0
|
||||
max r0.w,c12.x,r0.w //clamp to near clip plane
|
||||
mov oPos,r0
|
||||
add r0.w,r0.w,-c12.x
|
||||
mul r0.w,r0.w,c12.y
|
||||
;Load into diffuse
|
||||
mov oD0.xyzw,r0.w
|
||||
;load into texture
|
||||
mov oT0.x,r0.w
|
||||
mov oT0.y,c12.x
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user