diff options
author | chai <chaifix@163.com> | 2019-04-08 22:31:12 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-04-08 22:31:12 +0800 |
commit | 4ea4bbfcb03091cb987dc151d41980ec16f3d18d (patch) | |
tree | bdbe56d8c570b5f243744fbfc5a6cdd2c4f6dc4f /source/Asura.Editor/graphics/shaders/poly_line.shader.h | |
parent | e47baca4f23db43ec91fbf64d5d06d7c0dbee495 (diff) |
*misc
Diffstat (limited to 'source/Asura.Editor/graphics/shaders/poly_line.shader.h')
-rw-r--r-- | source/Asura.Editor/graphics/shaders/poly_line.shader.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/Asura.Editor/graphics/shaders/poly_line.shader.h b/source/Asura.Editor/graphics/shaders/poly_line.shader.h new file mode 100644 index 0000000..763fd45 --- /dev/null +++ b/source/Asura.Editor/graphics/shaders/poly_line.shader.h @@ -0,0 +1,15 @@ + +const char* s = R"( +in vec2 asura_position; +in vec2 asura_texcoord0; + +uniform mat4 asura_model_matrix; +uniform mat4 asura_view_matrix; +uniform mat4 asura_projection_matrix; + +void main() +{ + gl_Position = asura_model_ +} + +)";
\ No newline at end of file |