Howdy and hello,
I’m trying (and failing hard) to implement an effect for a portal. My initial attempt involved a mask material, but the warping effects are somewhat undesirable. I found an example on youtube, but I don’t understand how to wire the post process material as the person suggested.
here’s the links,
https://youtube.com/watch?v=uAnlIMH247oThe person replied when I asked,
"Hi. I use two synchronized cameras - character camera and Scene Capture 2D camera, which located in another room. So in post process material I have two images from these cameras. Material color of portal sphere is green. In post process I get image from character camera and check if pixel color is green and if so I use color from Scene Capture 2D camera. When projectile hit the sphere I teleport it to another room. I dont know why, but Scene Capture 2D make more darker image than character camera and so scene get brighter when I walk into the room.
It’s very simple implementation with some defects… just an experimental demo"
Here’s my alternative hacked together solution, using an inverted sphere mesh.
When setting this up, I tried to add a scene capture 2d to the character BP, and pass that targetScene texture. In the material, I have post-process enabled, but how do I check if pixel color is green and if so then use color from scene capture 2d camera?
Can anyone please explain this to me, or point me to a resource?