diff options
Diffstat (limited to 'src/shader.vert')
-rw-r--r-- | src/shader.vert | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader.vert b/src/shader.vert index e36a5ea..6c050ac 100644 --- a/src/shader.vert +++ b/src/shader.vert @@ -17,6 +17,10 @@ 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; + fragColor = inColor; fragTexCoord = inTexCoord; } + + |