X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=shaderlib%2Foccluder.glsl;h=6d6cd56074e7c67aa1f3d9fc3eb2e525fd75fef1;hp=abd29a0aaa07dde0db265fd95eec33d4464aed9d;hb=a741acd5c501c03de5181656498d2bcbe0df9157;hpb=542c01f2798ad38279b043011a5bf1d1b975eb07 diff --git a/shaderlib/occluder.glsl b/shaderlib/occluder.glsl index abd29a0a..6d6cd560 100644 --- a/shaderlib/occluder.glsl +++ b/shaderlib/occluder.glsl @@ -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;