summary refs log tree commit diff
path: root/misc/vita/textured_v.cg
diff options
context:
space:
mode:
authorWlodekM <[email protected]>2024-06-16 10:35:45 +0300
committerWlodekM <[email protected]>2024-06-16 10:35:45 +0300
commitabef6da56913f1c55528103e60a50451a39628b1 (patch)
treeb3c8092471ecbb73e568cd0d336efa0e7871ee8d /misc/vita/textured_v.cg
initial commit
Diffstat (limited to 'misc/vita/textured_v.cg')
-rw-r--r--misc/vita/textured_v.cg13
1 files changed, 13 insertions, 0 deletions
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