]> git.tdb.fi Git - libs/gl.git/blobdiff - shaderlib/occluder.glsl
Move the utility functions in export_material into MaterialExporter
[libs/gl.git] / shaderlib / occluder.glsl
index abd29a0aaa07dde0db265fd95eec33d4464aed9d..6d6cd56074e7c67aa1f3d9fc3eb2e525fd75fef1 100644 (file)
@@ -1,11 +1,11 @@
 import msp_interface;
 
-uniform AlphaCutoff
+layout(set=1) uniform AlphaCutoff
 {
        float alpha_cutoff;
 };
 
-uniform sampler2D alpha_map;
+layout(set=1) uniform sampler2D alpha_map;
 
 layout(constant_id=auto) const bool use_alpha_cutoff = false;