mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
Enabled user shader for a cameratexture
This commit is contained in:
parent
165134f1a7
commit
3aee73eaa4
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue