Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F630975
prominence_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
257 B
Referenced Files
None
Subscribers
None
prominence_ps.txt
View Options
#version 120
varying vec2 uv;
uniform sampler2D texture;
varying vec3 pos, normal;
void main() {
vec3 n = normalize(normal);
vec3 p = vec3(0.0,0.0,-1.0);
float d = abs(dot(n,p));
gl_FragColor = texture2D(texture,vec2(uv.x,d * 0.5)) * d;
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, Nov 15, 10:51 AM (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
127231
Default Alt Text
prominence_ps.txt (257 B)
Attached To
Mode
R80 StarRuler2-Source
Attached
Detach File
Event Timeline