diff --git a/wadsrc/static/shaders/scene/layout_frag.glsl b/wadsrc/static/shaders/scene/layout_frag.glsl index 0cf2b01e0..f769a1fbd 100644 --- a/wadsrc/static/shaders/scene/layout_frag.glsl +++ b/wadsrc/static/shaders/scene/layout_frag.glsl @@ -31,6 +31,11 @@ vec4 texture(int index, vec2 p) return texture(textures[uTextureIndex + index], p); } +vec4 texture(int index, vec2 p, float bias) +{ + return texture(textures[uTextureIndex + index], p, bias); +} + ivec2 textureSize(int index, int lod) { return textureSize(textures[uTextureIndex + index], lod);