audio texture

This commit is contained in:
2023-03-05 16:37:35 +01:00
parent 2135bad80c
commit 032ff9fc88
7 changed files with 174 additions and 16 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
<repa-shader id="demoshader" fs-input="fsinput" alpha mouse snippets="noise.glsl" width=512 height=512>
<repa-texture src="avatar.png" name="tex_avatar" wrap="mirrored_repeat"></repa-texture>
<repa-texture src="futas.mp4"></repa-texture>
<repa-texture filter="nearest">[[1, 2, 3, 4, 5, 6, 128, 255], [255, 128, 64, 32, 4, 3, 2, 1]]</repa-texture>
<!-- repa-texture filter="nearest">[[1, 2, 3, 4, 5, 6, 128, 255], [255, 128, 64, 32, 4, 3, 2, 1]]</repa-texture -->
<!-- repa-texture src="webcam"></repa-texture -->
<!-- repa-texture ref="demoshader"></repa-texture -->
<script type="x-shader/x-fragmen[DELETE]t">