render: move render_world_helper, remove chunks drawn behind view

This commit is contained in:
2022-01-27 01:09:45 +08:00
parent d8df67bc20
commit 7b6c16789c
11 changed files with 257 additions and 56 deletions

View File

@@ -0,0 +1,23 @@
#version 330
#define DrawTextureChannels_R (1<<0)
#define DrawTextureChannels_G (1<<1)
#define DrawTextureChannels_B (1<<2)
#define DrawTextureChannels_A (1<<3)
uniform float valueMin, valueMax;
uniform int channels;
uniform sampler2D tex;
in vec2 fragVert;
in vec2 fragTexCoord;
out vec4 outputColor;
void main() {
outputColor = vec4(0, 0, 0, 1);
}