it works?
This commit is contained in:
10
src/game/shaders/vert.sc
Normal file
10
src/game/shaders/vert.sc
Normal file
@@ -0,0 +1,10 @@
|
||||
$input a_position, a_color0
|
||||
$output v_color0
|
||||
|
||||
#include "common.sh"
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = mul(u_modelViewProj, vec4(a_position, 1.0) );
|
||||
v_color0 = a_color0;
|
||||
}
|
||||
Reference in New Issue
Block a user