Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F627517
shadow.fragment.glsl
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
392 B
Referenced Files
None
Subscribers
None
shadow.fragment.glsl
View Options
#ifdef GL_ES
precision
mediump
float
;
#endif
uniform
sampler2D
al_tex
;
uniform
bool
al_use_tex
;
uniform
vec4
shadow
;
varying
vec4
varying_color
;
varying
vec2
varying_texcoord
;
void
main
(){
if
(
al_use_tex
){
vec4
sample
=
texture2D
(
al_tex
,
varying_texcoord
);
gl_FragColor
=
vec4
(
shadow
.
r
,
shadow
.
g
,
shadow
.
b
,
shadow
.
a
*
sample
.
a
);
}
else
{
gl_FragColor
=
varying_color
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, Nov 15, 2:13 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
135055
Default Alt Text
shadow.fragment.glsl (392 B)
Attached To
Mode
R75 R-Tech1
Attached
Detach File
Event Timeline