OpenGL2: Small glsl shader optimizations, fixes, and cleanup.
This commit is contained in:
parent
efe8437cde
commit
623d107f42
15 changed files with 255 additions and 244 deletions
|
@ -5,5 +5,5 @@ varying float var_Scale;
|
|||
void main()
|
||||
{
|
||||
gl_FragColor = u_Color;
|
||||
gl_FragColor.a *= sqrt(clamp(var_Scale, 0.0, 1.0));
|
||||
gl_FragColor.a = sqrt(clamp(var_Scale, 0.0, 1.0));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue