feat(clusterApp): initial version run in Ubuntu.
change fb to DRM
This commit is contained in:
14
clusterApp/Res/shader/prog_texture_attr_alpha.vp
Normal file
14
clusterApp/Res/shader/prog_texture_attr_alpha.vp
Normal file
@@ -0,0 +1,14 @@
|
||||
uniform mat4 u_mat4_mdv;
|
||||
uniform mat4 u_mat4_prj;
|
||||
attribute vec3 a_v3_vtx;
|
||||
attribute vec2 a_v2_txc;
|
||||
attribute float a_flt_alpha;
|
||||
varying vec2 v_v2_txc;
|
||||
varying float v_flt_alpha;
|
||||
void main()
|
||||
{
|
||||
vec4 vPosES = u_mat4_mdv * vec4(a_v3_vtx.x, a_v3_vtx.y, a_v3_vtx.z, 1.0);
|
||||
v_v2_txc = a_v2_txc;
|
||||
v_flt_alpha = a_flt_alpha;
|
||||
gl_Position = u_mat4_prj * vPosES;
|
||||
}
|
||||
Reference in New Issue
Block a user