mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-01-18 20:20:45 +00:00
Fixed fontColor conversion applied two times.
This commit is contained in:
parent
b8e3cd5d64
commit
677ad5c54b
@ -317,7 +317,7 @@ ShaderEffect {
|
|||||||
"txt_color *= min2(step(vec2(0.0), staticCoords) - step(vec2(1.0), staticCoords));" +
|
"txt_color *= min2(step(vec2(0.0), staticCoords) - step(vec2(1.0), staticCoords));" +
|
||||||
"txt_color *= getScanlineIntensity(coords);" +
|
"txt_color *= getScanlineIntensity(coords);" +
|
||||||
|
|
||||||
"txt_color += fontColor.rgb * color;" +
|
"txt_color += vec3(color);" +
|
||||||
"float greyscale_color = rgb2grey(txt_color);" +
|
"float greyscale_color = rgb2grey(txt_color);" +
|
||||||
|
|
||||||
(chromaColor !== 0 ?
|
(chromaColor !== 0 ?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user