projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nametag rendering
[carveJwlIkooP6JGAAIwe30JlM.git]
/
player_render.c
diff --git
a/player_render.c
b/player_render.c
index 3f72657b1d8ed87c89bfce9504f88a0100d90774..a37e74e2128b9e67d92664d793758f65193d96fa 100644
(file)
--- a/
player_render.c
+++ b/
player_render.c
@@
-12,6
+12,7
@@
#include "shaders/model_character_view.h"
#include "shaders/model_board_view.h"
#include "shaders/model_entity.h"
#include "shaders/model_character_view.h"
#include "shaders/model_board_view.h"
#include "shaders/model_entity.h"
+#include "shaders/model_board_view.h"
static void player_avatar_load( struct player_avatar *av, const char *path ){
mdl_open( &av->meta, path, vg_mem.rtmemory );
static void player_avatar_load( struct player_avatar *av, const char *path ){
mdl_open( &av->meta, path, vg_mem.rtmemory );
@@
-285,6
+286,10
@@
static void render_board( camera *cam, world_instance *world,
{
if( !board ) return;
{
if( !board ) return;
+ /* TODO:
+ * adding depth compare to this shader
+ */
+
v3f inverse;
glActiveTexture( GL_TEXTURE0 );
v3f inverse;
glActiveTexture( GL_TEXTURE0 );