Fix T58793: Volumetric Clouds in Eevee not working | MacOs

Fix missing attribute in vertex shader. Theses are optimized out if using
volumetric shader but on MacOS they seems to be needed.
This commit is contained in:
Clément Foucault 2019-03-14 17:18:32 +01:00
parent f7d415ab42
commit 3ab879ed5a
Notes: blender-bot 2023-06-07 10:31:13 +02:00
Referenced by issue #58793, Volumetric Clouds in Eevee not working | MacOs
1 changed files with 4 additions and 0 deletions

View File

@ -24,4 +24,8 @@ void main()
vPos.y = float(v_id % 2) * 4.0 - 1.0;
vPos.z = float(t_id);
vPos.w = 1.0;
#ifdef USE_ATTR
pass_attr(vec3(0.0));
#endif
}