Skip to content

Commit

Permalink
Revert to Inverted line
Browse files Browse the repository at this point in the history
  • Loading branch information
IGitGotIt committed Nov 16, 2023
1 parent e4690c0 commit f3eca4a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ static class MyRenderer implements GLSurfaceView.Renderer {
+ " u=texture2D(Utex,vec2(nx,ny)).r;\n"
+ " v=texture2D(Vtex,vec2(nx,ny)).r;\n"

// + " y=1.0-1.1643*(y-0.0625);\n" // this line produces the inverted effect
+ " y=1.1643*(y-0.0625);\n" // use this line instead if you want to have normal colors
+ " y=1.0-1.1643*(y-0.0625);\n" // this line produces the inverted effect
// + " y=1.1643*(y-0.0625);\n" // use this line instead if you want to have normal colors

+ " u=u-0.5;\n" + " v=v-0.5;\n" + " r=y+1.5958*v;\n"
+ " g=y-0.39173*u-0.81290*v;\n" + " b=y+2.017*u;\n"
Expand Down

0 comments on commit f3eca4a

Please sign in to comment.