mirror of
https://github.com/3b1b/manim.git
synced 2025-07-28 12:32:36 +08:00
Stop pretending to support non-winding fill in the fill shader.
Possibly, if we want to reintroduce it later on, it should have its own dedicated shader, and maybe a distinct Mobject type too
This commit is contained in:
@ -372,13 +372,6 @@ class VShaderWrapper(ShaderWrapper):
|
||||
if self.fill_vao is None:
|
||||
return
|
||||
|
||||
# TODO, need a new test here...or to just kill non-winding fill?
|
||||
winding = True
|
||||
self.fill_program['winding'].value = winding
|
||||
if not winding:
|
||||
self.fill_vao.render()
|
||||
return
|
||||
|
||||
original_fbo = self.ctx.fbo
|
||||
texture_fbo, depth_texture_fbo, texture_vao = self.fill_canvas
|
||||
|
||||
|
Reference in New Issue
Block a user