ld33_umonster

annotate src/shadow.h @ 9:4f6168f3ca82

dynamic voxel field bounds
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 27 Aug 2015 01:58:26 +0300
parents
children
rev   line source
nuclear@0 1 #ifndef SHADOW_H_
nuclear@0 2 #define SHADOW_H_
nuclear@0 3
nuclear@0 4 #include "vmath/vmath.h"
nuclear@0 5
nuclear@0 6 extern bool shadow_pass;
nuclear@0 7
nuclear@0 8 bool init_shadow(int sz);
nuclear@0 9 void destroy_shadow();
nuclear@0 10
nuclear@0 11 void begin_shadow_pass(const Vector3 &lpos, const Vector3 &ltarg, float lfov);
nuclear@0 12 void end_shadow_pass();
nuclear@0 13
nuclear@0 14 Matrix4x4 get_shadow_matrix();
nuclear@0 15 unsigned int get_shadow_tex();
nuclear@0 16
nuclear@0 17 #endif // SHADOW_H_