- combine_shdata.uniform(combine_shader.get_uniform_location("color"), 1);
- combine_shdata.uniform(combine_shader.get_uniform_location("depth"), 0);
- combine_shdata.uniform(combine_shader.get_uniform_location("occlusion"), 2);
- combine_shdata.uniform(combine_shader.get_uniform_location("screen_size"), w, h);
- combine_shdata.uniform(combine_shader.get_uniform_location("depth_ratio"), depth_ratio, 1+depth_ratio);
- combine_shdata.uniform(combine_shader.get_uniform_location("edge_threshold"), 0.05f);
+ combine_shdata.uniform("color", 1);
+ combine_shdata.uniform("depth", 0);
+ combine_shdata.uniform("occlusion", 2);
+ combine_shdata.uniform("screen_size", w, h);