yes
This commit is contained in:
12
modules/wallpaper-engine/shaders/wireframe.vert
Normal file
12
modules/wallpaper-engine/shaders/wireframe.vert
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
attribute vec3 a_Position;
|
||||
attribute vec4 a_Color;
|
||||
|
||||
uniform mat4 g_ModelViewProjectionMatrix;
|
||||
|
||||
varying mediump vec4 v_Color;
|
||||
|
||||
void main() {
|
||||
gl_Position = mul(vec4(a_Position, 1.0), g_ModelViewProjectionMatrix);
|
||||
v_Color = a_Color;
|
||||
}
|
||||
Reference in New Issue
Block a user