projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
spherecast predictions
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_render.h
diff --git
a/world_render.h
b/world_render.h
index 68c0ceb91a88efe8cd22635d158fc7d00a6118c3..af20830cd0f6d388ca7abcdb58bba139769d5bf9 100644
(file)
--- a/
world_render.h
+++ b/
world_render.h
@@
-65,8
+65,11
@@
VG_STATIC void world_render_both_stages( enum mdl_shader shader,
{
mesh_bind( &world.mesh_geo );
world_render_if( shader, k_geo_type_solid, bind_point );
{
mesh_bind( &world.mesh_geo );
world_render_if( shader, k_geo_type_solid, bind_point );
+
+ glDisable( GL_CULL_FACE );
mesh_bind( &world.mesh_no_collide );
world_render_if( shader, k_geo_type_nonsolid, bind_point );
mesh_bind( &world.mesh_no_collide );
world_render_if( shader, k_geo_type_nonsolid, bind_point );
+ glEnable( GL_CULL_FACE );
}
VG_STATIC void bindpoint_diffuse_texture1( struct world_material *mat )
}
VG_STATIC void bindpoint_diffuse_texture1( struct world_material *mat )