feat(clusterApp): initial version run in Ubuntu.
change fb to DRM
This commit is contained in:
10
clusterApp/Res/shader/prog_texture.fp
Normal file
10
clusterApp/Res/shader/prog_texture.fp
Normal file
@@ -0,0 +1,10 @@
|
||||
precision mediump float;
|
||||
|
||||
uniform sampler2D u_sam_tex;
|
||||
uniform float u_flt_inv_alpha;
|
||||
varying vec2 v_v2_txc;
|
||||
void main()
|
||||
{
|
||||
gl_FragColor = texture2D(u_sam_tex, v_v2_txc);
|
||||
gl_FragColor.a *= 1.0-u_flt_inv_alpha;
|
||||
}
|
||||
Reference in New Issue
Block a user