From a5a82709028c475d0ff6cd54f6d07f16375e156e Mon Sep 17 00:00:00 2001 From: gramanas Date: Fri, 31 May 2024 21:00:57 +0300 Subject: Allaboard --- src/shader.vert | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/shader.vert') 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; -- cgit v1.2.3