X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=shaderlib%2Fshadow.glsl;h=f168fe7955431869b25f90b8909192453929bcd0;hp=6f4acd2786a6319c242d9ff8300a00ecc535d0a7;hb=a3c33df71e507380100069ad7ef802b61de351bb;hpb=532b877ac54969ca186b12b05baa483625e3f5d0 diff --git a/shaderlib/shadow.glsl b/shaderlib/shadow.glsl index 6f4acd27..f168fe79 100644 --- a/shaderlib/shadow.glsl +++ b/shaderlib/shadow.glsl @@ -1,5 +1,13 @@ import msp_interface; +uniform ShadowMap +{ + float shadow_darkness; + mat4 shd_eye_matrix; +}; + +uniform sampler2DShadow shadow_map; + layout(constant_id=auto) const bool use_shadow_map = false; #pragma MSP stage(vertex)