Is it possible to render a scene with different materials or textures for different cameras?
I've got an idea for a game where there is a human character and four robot characters. My intention is to release this game for both PC and android. In order to make the game work, I'll need images from the first-person perspectives of both the human character and the four robots to be displayed on the screen at the same time.
The image for the human character should appear normal (i.e. how we would see things), with a couple of effects thrown in to look like a camera feed (e.g. digital noise .etc.). The camera will be attached to the head of the human character to give a true first-person view, so that the player can look down and see their body.
The images for the four robots, however, should be processed to look like some sort of heat vision. The specific effect I'm after is that the surroundings and other robots should be shaded blue, whereas the human character should be shaded red. Again, some effects will be added on top of this to give the impression that we're looking through the eyes of a robot.
I have no idea on how to achieve this in Unity. I'm guessing my materials will need a special shader with an extra texture applied to them, which will convey information as to how the heat vision will appear. I'll then need to apply this to the cameras for the robots somehow.
Does anybody have any idea how I can accomplish this? Ideally, the solution should work on Android devices as well as PCs.
Your answer
Follow this Question
Related Questions
SetReplacementShader not rendering 1 Answer
Problem with HDR (I think?) 0 Answers
Shadergraph same texture different result 0 Answers
Auralike effect on full object? 0 Answers
Is it possible to change the offset of a texture based on another textures UV? 0 Answers