From abef6da56913f1c55528103e60a50451a39628b1 Mon Sep 17 00:00:00 2001 From: WlodekM Date: Sun, 16 Jun 2024 10:35:45 +0300 Subject: initial commit --- misc/vita/textured_v.cg | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 misc/vita/textured_v.cg (limited to 'misc/vita/textured_v.cg') diff --git a/misc/vita/textured_v.cg b/misc/vita/textured_v.cg new file mode 100644 index 0000000..7952b91 --- /dev/null +++ b/misc/vita/textured_v.cg @@ -0,0 +1,13 @@ +void main( + float3 in_position, + float4 in_color, + float2 in_texcoord, + uniform float4x4 mvp_matrix, + out float4 out_position : POSITION, + out float4 out_color : COLOR, + out float2 out_texcoord: TEXCOORD0) +{ + out_position = mul(mvp_matrix, float4(in_position, 1.0f)); + out_color = in_color; + out_texcoord = in_texcoord; +} \ No newline at end of file -- cgit 1.4.1-2-gfad0