summaryrefslogtreecommitdiffstats
path: root/src/shader.vert
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader.vert')
-rw-r--r--src/shader.vert4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shader.vert b/src/shader.vert
index dd50683..182bd51 100644
--- a/src/shader.vert
+++ b/src/shader.vert
@@ -5,6 +5,8 @@ layout(binding = 0) uniform UniformBufferObject {
mat4 view;
mat4 proj;
vec2 resolution;
+ float time;
+ float dt;
} ubo;
layout(location = 0) in vec3 inPosition;
@@ -17,7 +19,7 @@ layout(location = 1) out vec2 fragTexCoord;
void main() {
gl_Position = ubo.proj * ubo.view * ubo.model * vec4(inPosition, 1.0);
//gl_Position = vec4(inPosition * 2, 1.0);
- gl_PointSize = 10.0f;
+ gl_PointSize = 1.5f;
fragColor = inColor;
fragTexCoord = inTexCoord;