diff options
| author | grm <grm@eyesin.space> | 2024-05-31 21:00:57 +0300 | 
|---|---|---|
| committer | grm <grm@eyesin.space> | 2024-05-31 21:00:57 +0300 | 
| commit | 8934f18264dc5293f42e8add3cd32f59ddb13af3 (patch) | |
| tree | db1386b3e5af7075ee6e5c45c3a4964cdecdc9d2 /src/shader.vert | |
| parent | 090ffbfc45a62a1f54e0a3d42f7a6ee24aaca723 (diff) | |
| download | cgame-8934f18264dc5293f42e8add3cd32f59ddb13af3.tar.gz cgame-8934f18264dc5293f42e8add3cd32f59ddb13af3.tar.bz2 cgame-8934f18264dc5293f42e8add3cd32f59ddb13af3.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;  | 
