I’m currently working a rough prototype of a game I’d like to develop. One of the core mechanics is swapping between two characters. I help illiterate which character the player is currently controlling I’d like to invert the (almost monochrome) world color. The aim is something similar to bellow without having to actually modify the materials (i.e avoiding having everything in the world be a blueprint / dynamic object). I don’t think I can get it to be this perfect, but that’s the target.
My first implementation was really simple; A Post Process Material that took the Post Process input and ran it through a one minus, simple. While this effectively gave me what I wanted I wasn’t completely happy with how clearly inverted it looked. My main issue was the white shadows and AO. I pulled the AO out and multiplied it with the inverted Post Process input and got the following;
From there I wanted to try and pull out the shadow info by dividing the Post Process input with the Base Color, but it didn’t really work. I made a few variations on this but never got a better result than above. The thing I ran into was the black becoming way too dark, I think it was largely because what I thought was just shadows actually wasn’t at all.
I was hoping someone would be able to give me a few pointers here. I don’t actually think I can get something like the example shots, but I’m sure there’s a better version of what I’m doing out there. FYI, I’m not a c++ dev, so I’m sticking to BP with this project.
Thanks for any help!