Question by
Breaking_Reality · Sep 30, 2019 at 02:37 PM ·
shaderscompute shader
#include not finding compute file
I'm working on a shader that requires me to be able to 'latch on' to another compute shader. I'm using #Include "/Includes/LookupTables.compute" and that shader is in a folder named Includes and I've made sure everything is right. I tried doing Assests/Scripts/...etc and that doesnt work either. I also tried the .cginc extension and that doesn't work either. I look at some docs for unity and it says that #include is no longer supported. If so then what can I use?
Comment
Also forgot to mention its \ not / I made a mistake. But yeah it doesn't work either way
Your answer
![](https://koobas.hobune.stream/wayback/20220612212821im_/https://answers.unity.com/themes/thub/images/avi.jpg)