mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
Fix Texture Mode 7 shader compilation bug
This commit is contained in:
parent
08b5f95e07
commit
93b62d4f15
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ void main()
|
|||
#if (DEF_TEXTURE_MODE == 7)
|
||||
{
|
||||
float gray = grayscale(frag);
|
||||
vec4 cm = (uObjectColor + gray * (uAddColor - uObjectColor)) * 2;
|
||||
vec4 cm = (uObjectColor + gray * (uAddColor - uObjectColor)) * 2.0;
|
||||
frag = vec4(clamp(cm.rgb, 0.0, 1.0), frag.a);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue