it works??
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
$input a_position, a_color0, a_texcoord0
|
||||
$output v_color0, v_uv0
|
||||
$output v_color0, v_uv0, v_wpos
|
||||
|
||||
#include "common.sh"
|
||||
|
||||
@@ -8,4 +8,5 @@ void main()
|
||||
gl_Position = mul(u_modelViewProj, vec4(a_position, 1.0));
|
||||
v_color0 = a_color0;
|
||||
v_uv0 = a_texcoord0;
|
||||
v_wpos = mul(u_model[0], vec4(a_position, 1.0)).xyz;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user