Add a default POINT_SIZE

This commit is contained in:
clayjohn 2019-12-10 23:08:20 -08:00
parent 269145a346
commit 676f647c74
6 changed files with 17 additions and 4 deletions

View file

@ -432,6 +432,8 @@ void main() {
}
#endif
float point_size = 1.0;
highp mat4 modelview = camera_inverse_matrix * world_matrix;
{
/* clang-format off */
@ -441,6 +443,8 @@ VERTEX_SHADER_CODE
/* clang-format on */
}
gl_PointSize = point_size;
// using local coordinates (default)
#if !defined(SKIP_TRANSFORM_USED) && !defined(VERTEX_WORLD_COORDS_USED)