X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=shaderlib%2Fshadow.glsl;h=6f4acd2786a6319c242d9ff8300a00ecc535d0a7;hp=d751b460778af84155e127b828d21c6f4f614d33;hb=6dcf74922f46b086ad394c19fd6ce083a635b290;hpb=713ff9619daa858ffbd428f7699cd57598563dbd diff --git a/shaderlib/shadow.glsl b/shaderlib/shadow.glsl index d751b460..6f4acd27 100644 --- a/shaderlib/shadow.glsl +++ b/shaderlib/shadow.glsl @@ -9,7 +9,7 @@ void shadow_transform(vec4 eye_vertex) } #pragma MSP stage(fragment) -float get_shadow_factor(int index) +virtual float get_shadow_factor(int index) { if(use_shadow_map) {