MechWarrior001
Member
- Joined
- Oct 13, 2010
- Messages
- 108
Ok, so I was looking through the vertex shaders and I'm pretty sure I found the one that controls shadows (I could be wrong though.)
shadowvolume.vsh
Now, I don't know HLSL (Yet, anyways >_>) but something's telling me some part of this could be improved. Anyone got any ideas?
shadowvolume.vsh
Code:
//asm
TARGET
#include "vertex_program/modules/registers.inc"
dcl_position0 vPosition
m4x4 oPos, vPosition, cObjectWorldCameraProjectionMatrix