mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Reference new shader file structure
This commit is contained in:
parent
0a313eb119
commit
a8784692e8
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ class VShaderWrapper(ShaderWrapper):
|
||||||
def init_program_code(self) -> None:
|
def init_program_code(self) -> None:
|
||||||
self.program_code = {
|
self.program_code = {
|
||||||
f"{vtype}_{name}": get_shader_code_from_file(
|
f"{vtype}_{name}": get_shader_code_from_file(
|
||||||
os.path.join(f"quadratic_bezier_{vtype}", f"{name}.glsl")
|
os.path.join("quadratic_bezier", f"{vtype}", f"{name}.glsl")
|
||||||
)
|
)
|
||||||
for vtype in ["stroke", "fill", "depth"]
|
for vtype in ["stroke", "fill", "depth"]
|
||||||
for name in ["vert", "geom", "frag"]
|
for name in ["vert", "geom", "frag"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue