Normal map error with normals

I think this may actually be a bug, I’ll attach the file that did the tests for investigation.

https://dl.dropboxusercontent.com/u/2067306/corona_report/bug_normal%20map.zip

What is the problem? The faceting on the terminator line?

Yes, when I use “normal map” the shadow is faceted, as if not smoothed the surfaces.

This is the correct result.

I tried to put the gamma at 2.2, the render is not correct but the error did not show up, is not it something with the color space?

You changed gamma where?

you get rid of the terminator effect by increasing subdivisions on your model… But I don’t get how gamma could affect this (maybe hiding the effect in dark areas :D).

maru: Using “Color Correction”, as you turn to advanced mode and will have the option to change the gamma.
About my previous comment, I confuse, in realy I made ​​a de-gamma, as the texture is 8bit she is not linear, this gamma 2.2 was embedded. The Normal map shader of Corona asks for it not be done, as I said the render is wrong but the problem disappears, which made ​​me think that may be associated with the color space.

lacilaci: I have not changed the subdivisions of the model, when we use normal map subdivisions should not interfere with the final result, remember that it is used also in low poly models. And the gamma is directly connected to the correct result of the normal map, when working with 3ds max linearized you need to make a de-gamma in texture of normal map for it to work properly.

I even tried to use a texture linearized but had no effect, I prefer no more try guessing the problem, kkkkkkkkkkkk

hmm… can you render me the “normal difference” pass for both cases?

Project with 8bit texture:
https://dl.dropboxusercontent.com/u/2067306/corona_report/bug_normal%20map.zip

Linearized texture:
https://dl.dropboxusercontent.com/u/2067306/corona_report/BrickSmallNew01_Nmap-linearized.rar

so no matter what ammount of subdivisions you use it shows the terminator effect?

This is what i’ve got..

what build do you use?

lacilaci, what happens is that when you increase the subdivision the error starts to become imperceptible, because it happens on the faces of the object, as the smaller the face unless the error will appear.
But if you have to increase subdivision of the object to be certain it no longer makes sense to use normal map, in which case you use a displacement.

By the way, I’m not using any build

Oh, i get it… You are actually trying to get rid of shadow terminator using normal map, right?

Keymaster: Sorry I forgot the render pass you asked, I did all passes of normals and the “normal geometry” realizes the “faceted”

normalsDiscrepancy

normalsDotProduct

normalsShading

normalsGeometry

ok, everything looks normal. I’ll take a look once I get it working again

ok, I stopped making assumptions, kkkkkkkkkkkk :tongue:

Good evining

Hello tiagodmed

This is the effect you wanted?
a softer shadow?

Greats
Raf
normalmap.gif

you can post an example?

Thanks
Raf

In real I’ve posted on the first page, but to pinpoint the error, here is wrong and right.

yes

How come you use a teapot with segments 5 - 10?

is there a reason?