ShaderGenerator: fix M_modulate_gloss regression
It was mapping the alpha channel of M_modulate_gloss to the glow channel.
This commit is contained in:
parent
e0f8d7885a
commit
319b331553
|
|
@ -344,7 +344,7 @@ analyze_renderstate(ShaderKey &key, const RenderState *rs) {
|
|||
|
||||
case TextureStage::M_modulate_gloss:
|
||||
if (shader_attrib->auto_gloss_on()) {
|
||||
info._flags = ShaderKey::TF_map_glow;
|
||||
info._flags = ShaderKey::TF_map_gloss;
|
||||
} else {
|
||||
info._mode = TextureStage::M_modulate;
|
||||
info._flags = ShaderKey::TF_has_rgb;
|
||||
|
|
|
|||
Loading…
Reference in New Issue