Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F632199
colored_selectable_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
224 B
Referenced Files
None
Subscribers
None
colored_selectable_ps.txt
View Options
varying vec2 uv;
uniform sampler2D texture;
uniform float selected;
void main() {
vec4 col = texture2D(texture, uv) * gl_Color;
col.rgb = mix(col.rgb, vec3(1.0, 1.0, 1.0), selected * 0.5);
gl_FragColor = col;
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, Nov 15, 1:47 PM (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
135366
Default Alt Text
colored_selectable_ps.txt (224 B)
Attached To
Mode
R80 StarRuler2-Source
Attached
Detach File
Event Timeline