diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-08-29 15:59:48 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-08-29 15:59:48 +0300 |
commit | f9ea1de3a96923b99daf1b8bfd7e52675456d666 (patch) | |
tree | 3a35ff9a247e123b239c4ae26bc53338c9e49850 /source | |
parent | 299542545458e5a1fd6e3765567c75d680ee8697 (diff) |
Disbale bbox culling still buggy with planar objects
This does match the old draw manager culling
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/intern/shaders/draw_visibility_comp.glsl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/draw/intern/shaders/draw_visibility_comp.glsl b/source/blender/draw/intern/shaders/draw_visibility_comp.glsl index 7ec58c8f919..d48c65786af 100644 --- a/source/blender/draw/intern/shaders/draw_visibility_comp.glsl +++ b/source/blender/draw/intern/shaders/draw_visibility_comp.glsl @@ -38,9 +38,12 @@ void main() /* Not visible. */ mask_visibility_bit(); } +#if 0 /* Still has some quirks for now. Would be nice to fix as it would remove a lot of false \ + positive. */ else if (intersect_view(box) == false) { /* Not visible. */ mask_visibility_bit(); } +#endif } }
\ No newline at end of file |