PDA

View Full Version : MR render now showing masked areas of material


dnos
09-04-2009, 08:54 AM
Firstly: Hello all, im new and hope to stick around for a good while :)

Right, I've been working on an experimental (for me..) shader network to try and make some keyable 2D eyes for a character. As you can see, I have a set driven key driving an image sequence (eye lid mask for blinking) on the top, and the eyeball down the bottom, then mixed together with a layered texture (with skin underneath), then projected onto the material (the face).
http://i7.photobucket.com/albums/y259/mrmina/networkCap.jpg

So it all works fine, looks good in the viewport, keys fine, but when rendered they differ (Please excuse the temporary colours and placements)

http://i7.photobucket.com/albums/y259/mrmina/networkCap2.jpg

As you can see, the eye is masked on left when rendered with maya Software, and not on the right when rendered with Mental Ray.
Can anybody spot which part of the network might be causing the problem? It might be how the layered network deals with alpha channels, or the projection. Im not sure...
Thanks for help in advance!

lacluna
09-04-2009, 09:53 PM
don't use a projected texture. use a normal one

dnos
09-04-2009, 10:39 PM
Hey thanks for the reply, Ive just tried that and it produces more or less the same result. I think the alpha channel in the layered texture is just not being recognized the same way as maya software and the viewport use it. The image sequence Im using for the mask is just black and white, not an alpha itself, that may be where things are going wrong..

lacluna
09-05-2009, 12:10 AM
in the color balance of your file click on: Alpha is luminance. Maybe that'll work

dnos
09-05-2009, 05:50 AM
Alright that worked to get rid of the white (what does it do anyway?)

Now I've got a faint discoloration where the mask is. (In all 3 views: the viewport, software render, and mental ray)
http://i7.photobucket.com/albums/y259/mrmina/networkCap3.jpg

I've had this before, can I do anything about it? I could just make the canvas of the file big enough to cover the whole head but then it would effect the other eye.
Cheers!

dnos
09-06-2009, 10:56 AM
Well I never thought I'd get it, but it turned out that the discoloration was aucutally the mask working fine, and the outside area was the backing of the file node, I changed the file nodes defualt color from grey to white and it worked fine.
Cheers!

CGTalk Moderation
09-06-2009, 10:56 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.