mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-19 04:05:41 +00:00
Set point size when rendering meshes
This commit is contained in:
@@ -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