Fixed a literal in vertex shader that refused to compile on OSX
This commit is contained in:
parent
eadf7daa37
commit
3a09f66e51
@ -23,7 +23,7 @@ void main()
|
||||
if ((world_pos.z < z_range.x) || (z_range.y < world_pos.z))
|
||||
discard;
|
||||
|
||||
if (world_pos.x*clipping_plane.x + world_pos.y*clipping_plane.y + world_pos.z*clipping_plane.z + clipping_plane.w < 0.f )
|
||||
if (world_pos.x*clipping_plane.x + world_pos.y*clipping_plane.y + world_pos.z*clipping_plane.z + clipping_plane.w < 0.0 )
|
||||
discard;
|
||||
|
||||
// if the fragment is outside the print volume -> use darker color
|
||||
|
Loading…
Reference in New Issue
Block a user