mirror of
https://github.com/bloeys/nterm.git
synced 2025-12-29 06:28:20 +00:00
Correct and simplify textBuf drawing using the new ViewsFromTo+ new ring funcs
This commit is contained in:
@ -47,7 +47,7 @@ uniform int drawBounds;
|
||||
void main()
|
||||
{
|
||||
vec4 texColor = texelFetch(diffTex, ivec2(v2fUV0), 0);
|
||||
// This commented out part highlights the full region of the char
|
||||
// This part highlights the full region of the char
|
||||
if (texColor.r == 0 && drawBounds != 0)
|
||||
{
|
||||
fragColor = vec4(0,1,0,0.25);
|
||||
|
||||
Reference in New Issue
Block a user