diff --git a/src/gl/textures/gl_material.cpp b/src/gl/textures/gl_material.cpp index 5aa1d75b9..4be2e9619 100644 --- a/src/gl/textures/gl_material.cpp +++ b/src/gl/textures/gl_material.cpp @@ -447,6 +447,11 @@ FMaterial::FMaterial(FTexture * tx, bool expanded) } else if (tx->bHasCanvas) { + if (tx->gl_info.shaderindex >= FIRST_USER_SHADER) + { + mShaderIndex = tx->gl_info.shaderindex; + } + // no brightmap for cameratexture } else {