Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F118338
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
547 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/data/shaders/source/distant_faded_icon_ps.txt b/data/shaders/source/distant_faded_icon_ps.txt
index a5d48b7..b73e773 100644
--- a/data/shaders/source/distant_faded_icon_ps.txt
+++ b/data/shaders/source/distant_faded_icon_ps.txt
@@ -1,8 +1,8 @@
varying vec2 uv;
void main() {
float rad = length(uv - vec2(0.5));
if(rad > 0.33)
discard;
- gl_FragColor = vec4(gl_Color.rgb, (1.0 - max((rad - 0.28) / 0.05, 0)) * gl_Color.a);
+ gl_FragColor = vec4(gl_Color.rgb, (1.0 - max((rad - 0.28) / 0.05, 0.0)) * gl_Color.a);
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, May 16, 7:08 AM (14 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
64049
Default Alt Text
(547 B)
Attached To
Mode
R80 StarRuler2-Source
Attached
Detach File
Event Timeline