From 06549f2647000e8400f3ceb7e3bd7a0b2b74634d Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 27 Nov 2015 13:20:50 +0100 Subject: [PATCH] Set point size when rendering meshes --- renderdoc/data/spv/mesh.vert | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/renderdoc/data/spv/mesh.vert b/renderdoc/data/spv/mesh.vert index ccc9f5870..8fdee67a3 100644 --- a/renderdoc/data/spv/mesh.vert +++ b/renderdoc/data/spv/mesh.vert @@ -66,7 +66,9 @@ void main(void) OUTsecondary = secondary; OUTnorm = vec4(0, 0, 1, 1); - // GL->VK conventions - gl_Position.y = -gl_Position.y; - gl_Position.z = (gl_Position.z + gl_Position.w) / 2.0; + // GL->VK conventions + gl_Position.y = -gl_Position.y; + gl_Position.z = (gl_Position.z + gl_Position.w) / 2.0; + + gl_PointSize = 4.0f; }