banner
幻梦晓寒

幻梦晓寒HACK-FOX

醉后不知天在水,满船清梦压星河
x
github
bilibili
vrchat

audiolink使用教程

前言#

終於填了這個坑,之前寫 ltcgi 文章的時候就一直想把 audiolink 一起寫了,結果拖到現在

介紹#

GitHub 簡介已經解釋的很清楚了

AudioLink is a system that analyzes and processes in-world audio into many different highly reactive data streams and exposes the data to Scripts and Shaders.

The per-frequency audio amplitude data is first read briefly into Udon using Unity's GetOutputData. It is then sent to the GPU for signal processing and buffered into a CustomRenderTexture. Then, the CustomRenderTexture is broadcast globally (called _AudioTexture) which can be picked up by shaders both in-world and across all avatars.

看不懂?省流:一個用於處理音頻信息的並轉換為 CustomRenderTexture 的預製件.

你可以拿他做一些好玩的東西,比如:讓你 avatar 身上的物件跟著音樂變化,讓你的地圖部分擺件跟著音樂做出不同的動畫效果等等

安裝#

前往 https://github.com/llealloo/audiolink/releases 獲取 unitypackage

使用 vcc#

https://llealloo.github.io/audiolink/index.json

兼容的著色器列表#

目前據我所知主流的著色器基本都能夠使用 audiolink,不過我還是列個標表罷(水文章嫌疑)

如果有更多的著色器,歡迎評論區補充

使用#

等待撰寫

此文由 Mix Space 同步更新至 xLog
原始鏈接為 https://blog.xiaohan-kaka.me/posts/unity/audiolink


載入中......
此文章數據所有權由區塊鏈加密技術和智能合約保障僅歸創作者所有。