mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
Tweak the size of point particles.
This looks fairly reasonable, but should probably be tweaked further to base the point size on resolution.
This commit is contained in:
parent
5080a6f37e
commit
76cb60461d
1 changed files with 1 additions and 1 deletions
|
@ -14,6 +14,6 @@ void
|
|||
main (void)
|
||||
{
|
||||
gl_Position = mvp_mat * vec4 (vertex, 1.0);
|
||||
gl_PointSize = max (1, 32768.0 * abs (1.0 / gl_Position.z));
|
||||
gl_PointSize = max (1, 1024.0 * abs (1.0 / gl_Position.z));
|
||||
color = vcolor;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue