mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 14:35:48 +00:00
Set point size when rendering meshes
This commit is contained in:
1 parent
ad813afd0d
commit
06549f2647
1 file changed
+5
-3
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user