Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F633609
distant_icon_vs.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
425 B
Referenced Files
None
Subscribers
None
distant_icon_vs.txt
View Options
varying vec2 uv, uv1, uv2;
uniform float approach;
uniform float innerScale1;
uniform float innerScale2;
void main() {
uv = gl_MultiTexCoord0.xy;
uv1 = ((uv - vec2(0.5)) / innerScale1) + vec2(0.5);
uv2 = ((uv - vec2(0.5)) / innerScale2) + vec2(0.5);
vec4 cpos = gl_ModelViewProjectionMatrix * gl_Vertex;
cpos.z -= approach;
gl_Position = cpos;
gl_FrontColor = gl_Color;
gl_BackColor = gl_Color;
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, Nov 15, 5:18 PM (1 d, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
141393
Default Alt Text
distant_icon_vs.txt (425 B)
Attached To
Mode
R80 StarRuler2-Source
Attached
Detach File
Event Timeline