Updated shaders with comments
This commit is contained in:
parent
0e29aa2951
commit
bc08271da3
34 changed files with 294 additions and 158 deletions
|
@ -33,5 +33,5 @@ void main()
|
|||
else if (texelColor.r < 0.5) tc = sum*sum*0.009 + texelColor;
|
||||
else tc = sum*sum*0.0075 + texelColor;
|
||||
|
||||
finalColor = tc;
|
||||
gl_FragColor = tc;
|
||||
}
|
|
@ -20,7 +20,7 @@ float angle = 0.8;
|
|||
|
||||
uniform vec2 center = vec2(200.0, 200.0);
|
||||
|
||||
void main (void)
|
||||
void main()
|
||||
{
|
||||
vec2 texSize = vec2(renderWidth, renderHeight);
|
||||
vec2 tc = fragTexCoord*texSize;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue