Hey guys, I couldn't seem to find anything on this so far.
Tried searching up words like translucent materials or fading of objects, but what i'm trying to do is to get objects that are close and/or blocking the cameras Line of Sight to fade or have an xray effect.
Anyone have tutorials for these? Or a quick explanation of how I would set that up would be great.
Thanks in advance!
P.S I've got a third person camera setup right now, so i'm also trying to switch off collision with the camera as well so that it wont end up so zoomed in in tight corners.
Replies
http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=4385136&tag=1
Dunno if that's available to you or not. I was able to get it through my university id. If you can't message me and Ill try and grab a copy of it.
My first guess would be to make a depth map and basically if anything is black, reduce opacity by certain %. Best way to calculate black and white would be intensity I guess. On a mac and cant try anything (stupid mac doesnt like bootcamp) though Ill mess around on the weekend and see if I can pull something. Always enjoy making stuff as it teaches me more about the material editor
Actually now that I think about it, if you can inverse the depth map, so what would be closest to you would move from being black to being white and if you plug that with a multiplier to control the opacity. Think of it almost as an alpha channel.
http://www.daveprout.com/
haiddasalami: Cool! Thanks for the link, will check it out now.
The screenie of what the effect is like
http://img690.imageshack.us/img690/7356/destsampletest.png
The Mat setup
http://img580.imageshack.us/img580/843/destdepthsetup2.png
If I could somehow apply this to other mats somehow through code, would this work?