nuclear@0: #ifndef SHADOW_H_ nuclear@0: #define SHADOW_H_ nuclear@0: nuclear@0: #include "vmath/vmath.h" nuclear@0: nuclear@0: extern bool shadow_pass; nuclear@0: nuclear@0: bool init_shadow(int sz); nuclear@0: void destroy_shadow(); nuclear@0: nuclear@0: void begin_shadow_pass(const Vector3 &lpos, const Vector3 <arg, float lfov); nuclear@0: void end_shadow_pass(); nuclear@0: nuclear@0: Matrix4x4 get_shadow_matrix(); nuclear@0: unsigned int get_shadow_tex(); nuclear@0: nuclear@0: #endif // SHADOW_H_