Using a Vector3 Array with Shader Graph
I am attempting to make a heatmap shader using the shader graph feature that was recently introduced, I have no experience with shaders otherwise. However, I don't know of any way to pass an array of vectors (positions in worldspace) to my shader graph. My Google-Fu has failed me and I've found no other references to this. If I could just somehow get these positions from my monobehaviour script into my shader graph, it would already be working.
Your answer
![](https://koobas.hobune.stream/wayback/20220612173512im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Need help converting a custom shader to URP 0 Answers
Help with URP shader for a procedural terrain mesh 0 Answers
Setting fallback to Sprites-Default on custom shader for sprites 1 Answer
Creating a 3D portal effect using stencil buffer with a deferred shading setup? 1 Answer
Custom Shader Giving Unexpected token error for period ' . ' 1 Answer