Hi there guys, I have one more questions and will be very thankful if you help me with it
I combined two camera with each other (one camera rendering the rome environment and other onerendering my character)
But there is a problem!!! The cameras effects (Image effects) of both camera will combined too!
My both cameras has it own effects and I don’t want combining those with each other.
What you really mean? 1.disable all effects. 2. keep only one 3. or maybe keep blend them in different way. this obvious that all effects is blend with each other. this because camera apply post effect to the render target, but not to the objects that they actually render. So if you draw first camera to the frame buffer second camera will overlay its post effect over whole image. So if you explain what you really want may be we can help you
Thanks for reply. I’ve created an outdoor place with some image effects that looks very good but for some reason my character’s skin doesn’t looks good in this place! So because of that I need to create a second camera for my character with different Image effects!!
So now when I combining my two cameras (One for rendering my outdoor place and one for rendering my character) everything will be ruin because image effects of two cameras will combining too.
Thanks for reply. I’ve created an outdoor place with some image effects that looks very good but for some reason my character’s skin doesn’t looks good in this place! So because of that I need to create a second camera for my character with different Image effects!!
So now when I combining my two cameras (One for rendering my outdoor place and one for rendering my character) everything will be ruin because image effects of two cameras will combining too.
Thanks again but I really don’t understand what’s your mean by “render outdoor and character camera to texture RT1 and RT2” and blend them together
Sorry but could you tell me just a little more about that?
Thanks
RT - RenderTexture.
Create 2 render textures and assign them to each camera. To the second camera set clear color to (0.5,0.5,0.5,0).
After second camera renders you will have two textures that will contains your outdoor and character separately. So you can write shader that will have 2 texture properties blend this textures together as you like and draw full screen quad with that shader or you can draw it with OnGUI() {GUI.DrawTexture() or Graphics.DrawTexture()} .