Skip to content

Commit 794517b

Browse files
committed
Fix minor artifacting on bad texture edges repetition
1 parent c865eca commit 794517b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

DepthFlow/Scene.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ def setup(self):
106106
self.time = 0
107107

108108
def build(self):
109-
self.image = ShaderTexture(scene=self, name="image")
110-
self.depth = ShaderTexture(scene=self, name="depth")
109+
self.image = ShaderTexture(scene=self, name="image").repeat(False)
110+
self.depth = ShaderTexture(scene=self, name="depth").repeat(False)
111111
self.normal = ShaderTexture(scene=self, name="normal")
112112
self.shader.fragment = self.DEPTH_SHADER
113113
self.aspect_ratio = (16/9)

DepthFlow/Webui.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
Marigold,
2121
ZoeDepth,
2222
)
23-
from Broken.Externals.Upscaler import BrokenUpscaler, NoUpscaler, Realesr, Waifu2x
23+
from Broken.Externals.Upscaler import BrokenUpscaler, Realesr, Waifu2x
2424
from DepthFlow import DEPTHFLOW
2525
from DepthFlow.Motion import Presets
2626

@@ -254,7 +254,7 @@ def launch(self,
254254

255255
with gradio.Row(variant="panel"):
256256
self.fields.time = gradio.Slider(label="Duration (seconds)",
257-
info="How long the animation or its loop are",
257+
info="How long the animation or its loop lasts",
258258
minimum=0, maximum=30, step=0.5, value=5)
259259
self.fields.fps = gradio.Slider(label="Framerate (fps)",
260260
info="Defines the animation smoothness",

0 commit comments

Comments
 (0)