PDA

View Full Version : background shader not reflect real texture


andrearastelli
07-13-2011, 06:30 PM
Hi..

I've a problem with background shader.
My scene is really simple..
- sphere at center of the world (with a fully reflecting blinn shader)
- IBL with an HDRI
- base plane with background shader

..now.. what I see is all OK without the reflection of the base plane that is all black.

argh!!

How can I fix it?

thanks to everyone that can help me..

[ehm.. apologize my english.. I know that somewhere I have made some horrible grammatical mistakes]

lostparanoia
07-14-2011, 09:26 AM
I'm not sure I understand you correctly, but I'm guessing you only want the reflection of the ball in your floor plane, and not the environment map, right?

is it a "use background" shader? in that case, do you have specular color set to white and reflectivity set to 1? you also need to make sure raytracing is turned on in your render settings.

andrearastelli
07-14-2011, 01:52 PM
mmh..
another useful thing that I don't know.. wow.
Thanks..

But, what I mean with my previous message is:

When I render my image I have something like that
http://img16.imageshack.us/img16/3163/catturavw.png

As you can see, the base plane with Background shader is reflected completely black.
What I want is only shadow in reflections.. it is possible or I need to mask almost everything and composite in Photoshop?

lostparanoia
07-14-2011, 02:14 PM
aah. I see what you mean.
Actually, when you're rendering with mental ray, you shouldn't use the "use background" shader. it's very old and doesn't have the funktionality you need for this kind of stuff.

I suggest you use the mip_matteshadow shader instead, and connect your IBL also to the background slot of that shader.

You also need a exposure lens shader on your camera that will gamma correct your output image to 2.2 gamma. just connect a mia_exposure_simple to the lens shader slot in the mental ray rollout on your camera shape node.

andrearastelli
07-14-2011, 05:04 PM
Oh.. I didn't know anything about this shaders.

ahm.. witch attribute I need to connect from IBL to matteshadow.background?


Thanks for your help ^_^

ytsejam1976
07-14-2011, 06:03 PM
IBL and Dinosaurs have the same age.
Look at this explain tutorial

http://www.sigillarium.com/blog/lang/en/175/

CGTalk Moderation
07-14-2011, 06:03 PM
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.