LoopCorp
10-03-2006, 11:47 PM
I have to comp some objects into a shot of a glass of beer so I've created them inside an object shaped like the beer glass with a simple 100% transparent texture with refraction to distort the objects realistically.
I also want to have their visibility fall off towards the back off the glass so I was planning on outputting a depth pass but of course it sees the glass as a solid so that doesn't work. Is there a way around this? I can't just render without the glass as I need the distortion it introduces. Worst comes to the worst, I could just project a grad through the objects set to black at 100% +Z and white at 100% -Z but it's a bit kludgey, is there a more elegant solution?
I also want to have their visibility fall off towards the back off the glass so I was planning on outputting a depth pass but of course it sees the glass as a solid so that doesn't work. Is there a way around this? I can't just render without the glass as I need the distortion it introduces. Worst comes to the worst, I could just project a grad through the objects set to black at 100% +Z and white at 100% -Z but it's a bit kludgey, is there a more elegant solution?
