OpenGL2: Small glsl shader optimizations, fixes, and cleanup.
This commit is contained in:
1 parent
efe8437cde
commit
623d107f42
15 files changed
+255
-244
No files matched your search
@@ -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));
|
||||
}
|
||||
Reference in new issue
Block a user