llealloo / audiolink

Audio reactive prefabs for VRChat
Other
354 stars 40 forks source link

Minimal fix for non-networked usage #154

Closed yewnyx closed 2 years ago

yewnyx commented 2 years ago

A bit of an experiment with URP

image

cnlohr commented 2 years ago

I will start poking at this tomorrow, I think. I don't expect to convert everything over, and this is just a vague guide... But I have some ideas of how to accomplish this.

pema99 commented 2 years ago

fyi https://github.com/llealloo/vrc-udon-audio-link/pull/155

yewnyx commented 2 years ago

Removed the second commit and tested - the shader with the debug info is now zeroed out, but the normal audiolink shader still works. image

yewnyx commented 2 years ago

Looks like the main thing needed to get it working in URP is to add in

_AudioTexture("_AudioTexture", 2D) = "white" {}

to the Properties { ... } part of the shader, then select the audiolink render texture in the audiolinked material.