diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2024-05-31 21:00:57 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2024-05-31 21:00:57 +0300 |
commit | a5a82709028c475d0ff6cd54f6d07f16375e156e (patch) | |
tree | db1386b3e5af7075ee6e5c45c3a4964cdecdc9d2 /src/shader.vert | |
parent | 1f6538bcaf379cb3fe257a0053e4e7567f8ddb98 (diff) | |
download | cgame-a5a82709028c475d0ff6cd54f6d07f16375e156e.tar.gz cgame-a5a82709028c475d0ff6cd54f6d07f16375e156e.tar.bz2 cgame-a5a82709028c475d0ff6cd54f6d07f16375e156e.zip |
Allaboard
Diffstat (limited to 'src/shader.vert')
-rw-r--r-- | src/shader.vert | 4 |
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; |