Skip to content

Commit

Permalink
Rename gldft.frag to gldft.fsh. Because .frag is reserved for effects.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbn42 committed Dec 27, 2020
1 parent 66151f1 commit 6b005da
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions panon/effect/build_shader_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ def texture_uri(path: Path):
texture_uri(Path(effect.path) / 'texture.png'),
}

obj['wave_buffer'] = read_file(applet_effect_home / 'wave-buffer.frag')
obj['gldft'] = read_file(applet_effect_home / 'gldft.frag')
obj['wave_buffer'] = read_file(applet_effect_home / 'wave-buffer.fsh')
obj['gldft'] = read_file(applet_effect_home / 'gldft.fsh')
obj['enable_iChannel0'] = 'iChannel0' in (read_file(image_shader_path) + (read_file(Path(effect.path) / 'buffer.frag') if (Path(effect.path) / 'buffer.frag').exists() else ""))
obj['enable_iChannel1'] = 'iChannel1' in (read_file(image_shader_path) + (read_file(Path(effect.path) / 'buffer.frag') if (Path(effect.path) / 'buffer.frag').exists() else ""))

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 6b005da

Please sign in to comment.