it works??

This commit is contained in:
Asuro
2025-02-11 20:58:50 +01:00
parent 851db78d66
commit bf2371eca0
12 changed files with 33 additions and 18 deletions

View File

@@ -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;
}