DRW: Fix point shaders not using gl_PointSize

All Shaders inside DRW should use gl_PointSize.
This commit is contained in:
Clément Foucault 2019-06-27 15:08:17 +02:00
parent 58996e3057
commit c74ccf6a97
Notes: blender-bot 2023-02-14 03:31:57 +01:00
Referenced by issue #66203, Regression: Newly added Irradiance Volumes do not display sample points
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ void main()
#endif
finalColor.a = nor.w;
gl_PointSize = sizeVertex * 2.0;
#ifdef USE_WORLD_CLIP_PLANES
world_clip_planes_calc_clip_distance(world_pos);