mirror of
https://github.com/3b1b/manim.git
synced 2025-08-03 04:04:36 +08:00
Unify get_shader_wrapper_list, and and better subdivide render groups by ShaderWrapper ids
This commit is contained in:
@ -388,7 +388,7 @@ class Scene(object):
|
||||
"""
|
||||
batches = batch_by_property(
|
||||
self.mobjects,
|
||||
lambda m: str(type(m)) + str(m.get_uniforms())
|
||||
lambda m: m.get_shader_wrapper(self.camera.ctx).get_id()
|
||||
)
|
||||
|
||||
for group in self.render_groups:
|
||||
|
Reference in New Issue
Block a user