1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-06 00:33:01 +00:00

raycasting::: ray_comparison_mode

This commit is contained in:
Zeno Rogue
2019-10-23 23:10:50 +02:00
parent 0905117869
commit 8337a83568
2 changed files with 19 additions and 3 deletions

View File

@@ -404,6 +404,9 @@ void bind_array(vector<array<float, 4>>& v, GLint t, GLuint& tx, int id) {
EX void do_raycast() {
enable_raycaster();
if(ray_comparison_mode)
glColorMask( GL_TRUE,GL_FALSE,GL_FALSE,GL_TRUE );
auto& o = our_raycaster;