Correct and simplify textBuf drawing using the new ViewsFromTo+ new ring funcs

This commit is contained in:
bloeys
2022-07-23 03:08:44 +04:00
parent 76992472d4
commit 641e3eda98
6 changed files with 199 additions and 37 deletions

View File

@ -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);