Bump map and geometry thickness

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
marcatore
Donor
Donor
Posts: 463
Joined: Wed Jan 10, 2018 8:04 am

Bump map and geometry thickness

Post 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?
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Bump map and geometry thickness

Post 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.
marcatore
Donor
Donor
Posts: 463
Joined: Wed Jan 10, 2018 8:04 am

Re: Bump map and geometry thickness

Post by marcatore »

I've just checked now and the normal direction is correct
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Bump map and geometry thickness

Post 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?
marcatore
Donor
Donor
Posts: 463
Joined: Wed Jan 10, 2018 8:04 am

Re: Bump map and geometry thickness

Post 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
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Bump map and geometry thickness

Post by Dade »

it may be a numerical precision problem due to too low thickness :?:
Support LuxCoreRender project with salts and bounties
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: Bump map and geometry thickness

Post 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. :?: ;)
wasd
Posts: 319
Joined: Tue Apr 24, 2018 7:20 pm

Re: Bump map and geometry thickness

Post 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
CPU Bidir + Metropolis | Core i5-4570
Post Reply