Shader: total overhaul of permutations and shader flags

This commit is contained in:
korenkonder
2024-06-25 22:47:08 +03:00
parent 737fdd935f
commit 0cd4b4e0c4
18 changed files with 798 additions and 1535 deletions
+1 -1
View File
@@ -4087,7 +4087,7 @@ void water_particle::draw(mat4* mat) {
shaders_ft.set(SHADER_FT_W_PTCL);
gl_state_bind_vertex_array(rctx_ptr->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)