Quantcast
Channel: Questions in topic: "post processing"
Viewing all articles
Browse latest Browse all 713

How Unity assigns image effect shaders to their scripts automatically?

$
0
0
I don't understand, how it does, and I can I do it. I wrote some post processing shaders and I need them to automatically assign by script. It is really annoying if I have to remove a script because of reordering, I also need to select the shader to it. I know about "*Shader.Find*", but how should I use it? I want to auto-assign the shader as I add the image effect script component to my camera game objects (as how it works with image effects come with Unity) I'm using Unity 3.5 Pro.

Viewing all articles
Browse latest Browse all 713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>