Page 1 of 1

Bump map and geometry thickness

Posted: Thu Aug 02, 2018 2:32 pm
by marcatore
Hi,
I've m sharing a problem I've found when you have a bumped material (in this case a glossy material) applied to a geometry with no thickness.
bump_shading_issue.jpg
This is a comparison. Same material with same settings. I've just assigned a Solidify modifier to have thickness.
Is it correct when there is no thickness?

Re: Bump map and geometry thickness

Posted: Thu Aug 02, 2018 2:45 pm
by B.Y.O.B.
Maybe the normal of the surface without thickness is pointing away from the camera?

The glossy material has a weird legacy behaviour where the backside behaves like matte, only the front side (where the normal points) has the glossy coating. It is one of the things that should be changed when the material system is reworked.

Re: Bump map and geometry thickness

Posted: Thu Aug 02, 2018 2:51 pm
by marcatore
I've just checked now and the normal direction is correct

Re: Bump map and geometry thickness

Posted: Thu Aug 02, 2018 3:18 pm
by B.Y.O.B.
In that case, maybe your objects are very large or very small, or you are using an extreme unit scale?
Or is there some large geometry in the scene, e.g. a huge ground plane?

Which engine are you using (OpenCL or CPU)?
Can you upload the scene, or make a smaller testscene that still shows the problem?

Re: Bump map and geometry thickness

Posted: Mon Aug 06, 2018 10:23 am
by marcatore
The object is the floor of my scene I use to make the tests. It's that showroom with many lights on the ceiling.
You should already have it if you want to try it.
But you have to add by yourself a bump map.

In any case, the object has these measures
blender_2018-08-06_12-16-52.png
As engine, I'm using CPU path

Re: Bump map and geometry thickness

Posted: Mon Aug 06, 2018 10:25 am
by Dade
it may be a numerical precision problem due to too low thickness :?:

Re: Bump map and geometry thickness

Posted: Mon Aug 06, 2018 11:33 am
by Racleborg
I find that there must be a thickness that is at least the bump height.

Edited:

I should have said that I noticed this when the bump is in the Z- direction, as opposed to Z+. I presumed that this wasn't an actual error as you can't take something from nothing. :?: ;)

Re: Bump map and geometry thickness

Posted: Thu Aug 09, 2018 10:32 am
by wasd
Something's wrong with bump.
~1000 samples cpu bidir+metropolis
Green point park 8k hdr from hdrihaven
Fabric 01 8k from cc0textures
Matte material
  • Bump, solid color
    bump-1.png
  • Bump, solidified mesh
    bump-3.png
  • No bump, color texture
    bump-2.png
  • No bump, solid color
    bump-4.png
  • Cycles bump
    bump-5.png
That loop-shaped structure – texture does not have anything like this, and this is just the most obvious strange thing, there's more.mp