Iray shader reflections
music2u4u
Posts: 2,822
This may be the wrong forum to ask this, but I hope someone can help me. I am currently working on shaders and Iray rendering. I don't have many to choose from, but enough to play around with. Here is my problem:
I render a car with Iray. I apply a car paint shader that shines on the car. I see a refleaction in the paint. That reflection needs to be a reflection of the surounding area. I usually use a background .jpeg photo that I am using for the background of the render. I apply it to the reflection setting, then work the slider for amount of reflection I want. With Iray...there is no reflection adjustment, or slider. Every glossey shader I have, no matter the creator, it automatically applies the same reflection of a desert scene with clouds in the sky. I don't know where it comes from, I can't find it anywhere, I cant remove it, can't alter it, can't apply the map I want to use. Big problem when you are rendering a shiney car in the city! Is there any way to change that map for each render you use to one you want? If so...how do I do that? Very different set of sliders with Iray. I need help with this.

Comments
Things don't work that way for Iray. If you want something to reflect and don't want to see the background, put an HDRI image in the render settings/environment.
There's a default one in there already. If you want it to show, click the Draw Dome button to "on". If you don't, make sure it's off and you have Dome and Scene selected in the dropdown there. You'll get a transparent background but you'll still reflect the HDRI in your car paint. The desert scene with clouds in the sky IS the default HDRI in the Iray render settings. Change that to something else and you'll get a different reflection. Your best bets are .exr or .hdr files.
There are tons of free HDRI images for your dome on the internet. A good place to start is sibl archive
...I just make sure there is a full set surrounding the scene and camera, to catch reflections from. Yeah, a render hog at times but you get reflections that better fit the location.
All that was said above or just change it to the sun/sky setting and set your lat/long location and time for appropriate light which shouldn't create any additional reflections AFIK. Also you could set it to scene only and use a custom skydome & more traditional 3dl style lights.
I have been to that site many times. I have tons of the files there. When you say put an HDRI in it, do you mean a .jpg image or an actual HDRI file? What I want is...I want the background image to show and be reflected in the car paint ALSO together. I don't want a city background image with a desert reflecting in the paint! That's impossible...lol. So I will use your info here and see what I can do. Thank you so much for your help. I will reply later with what I have found for others who may read this post.
Put the HDRI in the environment in the Render Settings tab. If you chose Dome and Scene and set the dome to render you will reflect that image in your paint AND you will also see that image in the background.
Laurie
Use the actual .hdr or .exr file instead of the .jpg. Iray doesn't need the conversion to jpg like 3dl does. Also what @AllenArt said about setting the dome to render should get you what you are trying for.