Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F618398
cutoff_ps.txt
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
241 B
Referenced Files
None
Subscribers
None
cutoff_ps.txt
View Options
varying vec2 uv;
varying float renderpos;
uniform sampler2D texture;
uniform float cutoff;
void main() {
if(renderpos > (cutoff * 2.0) - 1.0)
discard;
gl_FragColor.rgb = texture2D(texture, uv).rgb;
gl_FragColor.a = 1.0;
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sat, Nov 14, 3:03 PM (43 m, 35 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
127807
Default Alt Text
cutoff_ps.txt (241 B)
Attached To
Mode
R80 StarRuler2-Source
Attached
Detach File
Event Timeline