DRW: Fix point shaders not using gl_PointSize
All Shaders inside DRW should use gl_PointSize.
This commit is contained in:
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
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue