Problem applying Iray shader
Philippi_Child
Posts: 650
in The Commons
I have this model of a 1978 Dodge cobra motorhome created by KPT and for the life of me why I can't apply Iray shaders to it.
In the material preset tab over by the editor and shader baking tabs, I select the preset tab and no shaders are there Iray or 3DL. The tab is blank and it only does this with this particular model in the scene. I tried other item and models and the tab has the shaders there.
Even with a part of the vehicle selected in the editor the go to the preset tab no shaders. I have no problem with any other model, person, etc I can always be able to apply a shader to them.
But this model no can do it's bewildering. Any ideas?
Comments
I don't know what product that is, but guessing it lacks metadata? Locate the shaderpresets in your content library, select the figure and one or more surfaces and apply a shader preset. Or are you saying that isn't working?
Come to that, what sorts of surfaces are listed on the Surfaces pane for that product?
This. When applying a shader, rather tahn a material preset, you typically have to select the specific surface, then double click the shader (which may not be in the "presets" tab.)
It sounds like you inadvertently deselected the surfaces for that item.
Sorry I wasn't on my PC when I poster this.
I would select a surface, for example the chrome bumper, I'd go to the Shader presets in my content library, selected a chome shader for the bumper. double click as I always do and then apply the shader to the bumper, do a quick render and the bumper stayed the same. It's this way for the entire model, glass, body, any surface I try to apply an Iray shader to the surface just doesn't seem to take it. I've never seen this before I've taken tons of poser models, .objs, etc and have always been able for them to take a shader. All I had to do was select a surface, select the shader I wanted to use and not problem. On this model it almost seems that it's not set up to take shaders be it 3DL or Iray shader.
As you can see in my screen shot a surface has been selected, the applied and nothing. The tabs I spoke of are on the left hand side "Presets, Editor and Shader Baker". Usually in the Presets tab all the shaders appear Iray like glass, metals, the under shader base, etc. But when this model is in the scene all those shaders none, Nada not even 3DL don't show the only thing that show are the surfaces in the Editor tab. However, when this model is NOT in the scene the presets tab is full.
So you got me on this one LOL!
Did you apply the Iray Uber Base shader first? It looks to me like the one on the screenshot is a 3DL shader which means you haven't.
ETA: it's not necessary to apply the Uber shader first for all types of Iray shaders, but it is for the default DS Iray shaders AFAIK (can't test right now) and possibly for some others as well.
Are you sure you have the surface and the item selected.
In the screen grab there are no shaders have been applied outside of the Iray chrome I tried. This model will not accept 3DL shaders as well. The textures seen are the textures that came with the model.
Unless there is another place outside of the preset tab to the left I can't apply the base Iray Uber shader it's not in my content library . As I posted above the preset tab is blank of shaders both 3DL or Iray when this model is in the scene.
However, when the model is loaded into the scene the preset tab to the left is not populated with any shaders at all none are available this includes the Iray Uber base shader. When the model is not loaded the preset tab on the left is now populated.
Any part of the model I select the preset tab to the left is blank no shaders Show up.
yes the the surface I want to apply the shader is always selected.
I wonder if this model, which is for an older version of poser isn't compatible with Daz Studio and that's why it will not take shaders both 3DL and Iray.
I'm sorry to sound redundant but I'm trying to explain as well as I can. If I could apply the über shader it may solve the issue but as I explained no shaders are listed in the preset tab on the left 3dl or Iray and that's where and that's the only place that I know of where the über shader is.
The item is using the daz default shader thats for 3dl, make sure that you have the item selected in the scene tab as well as selecting the surface.
Strange that the Iray Uber shaders ("Shader Presets > Iray > DAZ Uber" folder) are missing, they use to be there by default. Or are they part of one of the resource packages?
Yes I've done that as well. :)
Taoz, I'll look there again I may have missed it thanks. Even if I still can't get this to go it's not a loss. This is more of a doodle project that has me stumped a tad I just want to figure it out it just a cool classic motorhome. I remember seeing these as kid. If I get it to work with the shaders I'll post a render of the out come. Thanks everyone!!!
Try selecting the base object - in this case "Cobra Moterhome" - it looks like you only have one of the bones selected, so see if selecting the base object in the Scene Tab makes a difference.
Hi Diva
I did that too but I still couldn't put any shader on it. I'll play with it some more I may have totally missed something that was so simple to fix. I get these pre-senior moments from time to time lol!!
From this items home page it sounds like this is using Geometry Switching, if the CR2 is loading one OBJ as the base, and adding the rest of the 50+ as Alt-Geoms, then it's not a surprise it's not working, DS has never liked Geo-Switching, and DS4 absolutley hates it.
Going on other items I've had the misfortune to encounter, I suspect you will find that the only way to change shaders is from inside the ShaderMixer, as DS is blocking you from using anything else.
Lol I own the thing and never looked at the product page. When reading deeper into the info I saw where this could only be used in DS 2.x Well I was hoping to be able to render this thing like I did when I rendered in Vue. I also saw on the product page my render of this vehicle in meshwork's gallery using this vehicle. Oh well lol!
I noticed that it says there is a Parented PP2 included, that means all the OBJ will be loaded as props, props that are parented to each other, not sure if it will work the same as the CR2 (doors open/close etc), but you will be able to change the shaders on them.
Export it as an OBJ using the default settings; then delete and reimport it to DS. Then it should work like a normal object. If you want all the alt geometries it's easiest to load them into DS as objects by looking in runtime/geometries/ and finding the folder. You can find the folder by opening the CR2 file in a text editor - the geometry reference should be at the top of the file.
That explains issues I've had with Dystopian Drone, which also uses geometry switching. Interesting.
Okay, I know this is an old thread, but I've just hit this same problem on an old Poser Model that uses Switching Geometry' and have another solution that works for me in DS 4.21 so I thought I'd post as it may be useful to others.
1. Set Switching Geometry to your required option(s).
2. Apply a Geometry Shell to the model in question.
3. Apply the Iray Shaders as wanted to the relevant surfaces on the Geometry Shell, note switching geometry surfaces seem to get different names to the original object.
4. Make all the other surfaces transparent, 3DL Opacity to 0%, Iray Cutout Opacity to 0.0.
5. Render away!
NOTE: If you change the switching Geometry the shaders seem to reset to 3DL ones, at least some of the time, not quite sure why this doesn't happen every time but if it does simply reapply the Iray Shader to the Switching Geometry surfaces.