Calling Vignetting JS shader from C# code

hi guys

I need to access the vignetting/chromatic aberration shader parameters to do some fx stuff at a point in time in my project. The problem is I am writing in C#, but vignetting is written in JS.

I tried some examples from around here, on how to access a JS script from C#, from build execution orders, to using send message, but for some reason no matter what I do, my caller script doesn’t see the shader script.

thanks !

just in case anyone has a similiar problem I fixed the issue by putting my Vignetting script into Standard Assets folder (so one directory higher then it is when you import standard assets) and the calling C# script in Assets.

cheers