forked from bartvdbraak/blender
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:
parent
f7d415ab42
commit
3ab879ed5a
@ -24,4 +24,8 @@ void main()
|
|||||||
vPos.y = float(v_id % 2) * 4.0 - 1.0;
|
vPos.y = float(v_id % 2) * 4.0 - 1.0;
|
||||||
vPos.z = float(t_id);
|
vPos.z = float(t_id);
|
||||||
vPos.w = 1.0;
|
vPos.w = 1.0;
|
||||||
|
|
||||||
|
#ifdef USE_ATTR
|
||||||
|
pass_attr(vec3(0.0));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user