mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Draw border width behind fill
This commit is contained in:
parent
c8b65d5621
commit
c062592684
1 changed files with 2 additions and 2 deletions
|
@ -1315,9 +1315,9 @@ class VMobject(Mobject):
|
||||||
fill_border_datas.append(border_stroke_data[indices])
|
fill_border_datas.append(border_stroke_data[indices])
|
||||||
|
|
||||||
shader_wrappers = [
|
shader_wrappers = [
|
||||||
self.back_stroke_shader_wrapper.read_in(back_stroke_datas),
|
self.back_stroke_shader_wrapper.read_in([*back_stroke_datas, *fill_border_datas]),
|
||||||
self.fill_shader_wrapper.read_in(fill_datas, fill_indices or None),
|
self.fill_shader_wrapper.read_in(fill_datas, fill_indices or None),
|
||||||
self.stroke_shader_wrapper.read_in([*fill_border_datas, *stroke_datas]),
|
self.stroke_shader_wrapper.read_in(stroke_datas),
|
||||||
]
|
]
|
||||||
# TODO, account for submob uniforms separately?
|
# TODO, account for submob uniforms separately?
|
||||||
self.uniforms.update(family[0].uniforms)
|
self.uniforms.update(family[0].uniforms)
|
||||||
|
|
Loading…
Add table
Reference in a new issue