hi, so i have this shader that takes in a RGBA8 texture that contains ascii values, with the first 2 entries defining the width and height, however i seem to be having issues with getting the data out of the texture, i looked at AudioLink that achieves it like this
uniform Texture2D<float4> _AudioTexture;
#define AudioLinkData(xycoord) _AudioTexture[uint2(xycoord)]
i modified it to use uint4 since i'm only getting integers from the texture
it looks like this at the end
(shader is in following message discord is pain)
(ignore the mentions of UDON, im using a shader function that came from a vrchat project )
but the issue is that i can't get any of it rendering, i think its due to actually getting the value but im not sure. im new to shaders so any help is appriciated!
GitHub
Contribute to cnlohr/cnsky development by creating an account on GitHub.
