summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/39-assao/vs_assao.sc
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/examples/39-assao/vs_assao.sc')
-rw-r--r--3rdparty/bgfx/examples/39-assao/vs_assao.sc16
1 files changed, 16 insertions, 0 deletions
diff --git a/3rdparty/bgfx/examples/39-assao/vs_assao.sc b/3rdparty/bgfx/examples/39-assao/vs_assao.sc
new file mode 100644
index 00000000000..1d82c282ef6
--- /dev/null
+++ b/3rdparty/bgfx/examples/39-assao/vs_assao.sc
@@ -0,0 +1,16 @@
+$input a_position, a_texcoord0
+$output v_texcoord0
+
+/*
+ * Copyright 2018 Attila Kocsis. All rights reserved.
+ * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
+ */
+
+#include "../common/common.sh"
+
+void main()
+{
+ gl_Position = mul(u_modelViewProj, vec4(a_position.xyz, 1.0) );
+ v_texcoord0 = a_texcoord0;
+}
+