Announcement

Collapse
No announcement yet.

Material change depending on camera?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Material change depending on camera?

    Hello, I am trying to implement a sort of situation where Character A sees himself as red and Character B as Blue, and Character B sees himself as red and Character A as blue. In essence, i want both characters to see themselves as red and the other as blue (changing the material based on the camera used), but I haven't seen anything coming close to that on youtube tutorials or other forum posts. If anyone could tell me whether this is even possible, that would be much appreciated.

    Thank you

    #2
    Yeah pretty simple, This is just a quick thing I done on a project I already have so camera doesn't require to be an actor and cube is obviously not a mesh but your character will be so yeah, anyway, I done this in the Level blueprint
    Click image for larger version

Name:	cameramat.PNG
Views:	19
Size:	212.9 KB
ID:	1619934

    Comment


      #3
      oh wow, i had no idea that ue4 had a node like that. Thanks a bunch, this problem has been keeping me stuck for a while

      Comment

      Working...
      X