ba3be9affd
Because example 42 was using the shaders from example 07 (callback), which have input vertex attributes position and color, while the mesh from example 42 has attributes position and normal, this causes problems on Windows when using AMD gpus (no bunny mesh would appear on the window).
6 lines
166 B
Python
6 lines
166 B
Python
vec3 v_world : TEXCOORD0 = vec3(0.0, 0.0, 0.0);
|
|
vec4 v_color0 : COLOR0 = vec4(1.0, 0.0, 0.0, 1.0);
|
|
|
|
vec3 a_position : POSITION;
|
|
vec3 a_normal : NORMAL;
|