Shader: total overhaul of permutations and shader flags

This commit is contained in:
korenkonder
2024-06-25 22:56:58 +03:00
parent a26c8e19ed
commit 83624fa4f8
18 changed files with 751 additions and 1483 deletions
+1 -1
View File
@@ -1958,7 +1958,7 @@ void water_particle::draw(mat4* mat) {
shaders_ft.set(SHADER_FT_W_PTCL);
gl_state_bind_vertex_array(rctx->common_vao);
water_particle_scene_ubo.Bind(4);
water_particle_scene_ubo.Bind(5);
ssbo.Bind(0);
texture* tex = texture_manager_get_texture(splash_tex_id);
if (tex)