1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-03-13 22:28:39 +00:00

Add reflections to frame for better glossiness

I mean, it's how it works in the real world; it's added to the frame's base color, not occluded by the frame.
This commit is contained in:
Frost 2021-10-02 12:01:14 -07:00
parent f157648d1e
commit af6516789d

View File

@ -321,7 +321,7 @@ Item {
(displayTerminalFrame ?
"vec4 frameColor = texture2D(frameSource, qt_TexCoord0);
finalColor = mix(finalColor, frameColor.rgb, frameColor.a);"
finalColor = mix(finalColor, frameColor.rgb + finalColor, frameColor.a);"
: "") +
"gl_FragColor = vec4(finalColor, qt_Opacity);" +