Hi, I am getting some weird results when I try to use a specular and glossy transparent on one object - only the front 'lens' part of this safety goggles model. the front faces of the lens have glossy transparent with an image texture controlling the roughness (adding scratches on the surface), while I kept the side and back faces a clear specular. when I give both materials the same medium the result looks too bright. giving them separate mediums (but all the parameters the same) brightness looks correct, but the background is distorted as if the IOR is wrong, maybe multiplied. it's a little hard to describe in words, so please see the attached examples to compare. maybe I am simply setting up the materials wrong, but it seems like very different results that shouldn't be happening.
edit:
I tried one more thing, changing the specular material to glossy transparent with roughness 0, gives the correct result (not too bright and not distorted), but why the difference when using specular?
Possible bug - 2 materials on object with same medium
-
- Posts: 512
- Joined: Wed May 02, 2007 11:34 am
- Originalplan®
- Posts: 757
- Joined: Sat Sep 26, 2015 8:58 pm
- 3D Software: Cinema 4D
- Contact:
Re: Possible bug - 2 materials on object with same medium
If i understand it correctly....actually it should give you bright and distorted weird IOR.FakeShamus wrote: when I give both materials the same medium the result looks too bright. giving them separate mediums (but all the parameters the same) brightness looks correct, but the background is distorted as if the IOR is wrong, maybe multiplied. it's a little hard to describe in words, so please see the attached examples to compare. maybe I am simply setting up the materials wrong, but it seems like very different results that shouldn't be happening.
Having specular and glossy transparent blend is kinda putting two very reflective surfaces together..kinda 1+1=2
So it won't end up 1+1=1. That's why the second one is correct, since the specular and glossy adds up two 2 layers of super glossy material.
You could try a blend ration between the two.
Or map the model itself so different geometry has its own material. < (aka the front and the sides)
Hope this helps.. ®
-
- Posts: 512
- Joined: Wed May 02, 2007 11:34 am
Re: Possible bug - 2 materials on object with same medium
This is how I have it, actually, sorry if that was unclear. There's no blend...Or map the model itself so different geometry has its own material. < (aka the front and the sides)
In the end, it does make the most sense to have the materials all glossy trans, but my intuition is that it should also work with specular and GT on different faces, especially in the case where the 2 materials share 1 medium.
- thesquirell
- Posts: 428
- Joined: Fri Aug 29, 2014 3:49 am
- Location: Novi Sad, Serbia
Re: Possible bug - 2 materials on object with same medium
Maybe it has something to do with the fact that the specular materials are delta materials, while Glossy ones aren't. Not sure. My guess would be - 1) close the geometry for every medium; 2) if it's a different type of material - it's a separate geometry.
In the example below, my "frame" is one closed mesh, and the "glass" is another. All closed up, with correct precedence number (frame has the priority - it needs to "cut" into the glass). Frame-GT, Glass-Specular.
In the example below, my "frame" is one closed mesh, and the "glass" is another. All closed up, with correct precedence number (frame has the priority - it needs to "cut" into the glass). Frame-GT, Glass-Specular.
Who is online
Users browsing this forum: No registered users and 48 guests