Page 1 of 2

World light always from the left?

Posted: Fri Apr 13, 2018 4:28 pm
by Racleborg
Hi
(attached png and blend file)

Could you please tell me why the world light is coming from the left (x axis). I think everything in the scene is centered.

Thank you

Re: World light always from the left?

Posted: Fri Apr 13, 2018 5:13 pm
by B.Y.O.B.
I think the normalmap is causing this.
Can you attach it (or pack into the file)?

When I render it looks like this:

Re: World light always from the left?

Posted: Fri Apr 13, 2018 5:56 pm
by Racleborg
Packed file attached.
Thanks

Re: World light always from the left?

Posted: Fri Apr 13, 2018 7:02 pm
by kintuX
yup, caused by normal map...
from my experience, using normal map with Height above ~ 0.3 (gamma 2.2) i always get some sort of shading issues / gamma 1 looks fine

PS
really in need for displacement :cry:

Re: World light always from the left?

Posted: Fri Apr 13, 2018 7:20 pm
by Racleborg
Great. Thank you for the info.

Re: World light always from the left?

Posted: Fri Apr 13, 2018 8:28 pm
by B.Y.O.B.
With Cycles I get the attached result.
Even though the cracks look different, the shadow is also falling to the right, so I think the normalmap is not correct (or it is an optical illusion that only makes it appear as if a shadow was falling to the right).

Re: World light always from the left?

Posted: Fri Apr 13, 2018 9:41 pm
by Racleborg
BYOB

That's interesting. I'll try the scene with different Normal maps and see what happens.

Thanks

Re: World light always from the left?

Posted: Sat Apr 14, 2018 11:07 am
by Racleborg
Just to say that I'm finding (as Kintux mentioned), that so long as the Gamma is kept at a value of 1 then the problem goes away.
I think I've seen an article about reasons for setting gamma values to 1 or 2.2 somewhere else, possibly on the older Luxrender forum. Sorry, but I can't remember where!
I hope the above make sense.
Cheers, and thank you both for your help.

Re: World light always from the left?

Posted: Sat Apr 14, 2018 11:19 am
by Dade
Racleborg wrote: Sat Apr 14, 2018 11:07 am Just to say that I'm finding (as Kintux mentioned), that so long as the Gamma is kept at a value of 1 then the problem goes away.
I think I've seen an article about reasons for setting gamma values to 1 or 2.2 somewhere else, possibly on the older Luxrender forum. Sorry, but I can't remember where!
Do you mean you are using gamma correction on an image map used as normal map ? Uh, never, RGB values of a normal map are (X, Y, Z) values of a vector used to "perturbate" the shading normal. They are numbers, normal maps are just a simple trick for encoding data inside an image and, by using gamma correction, you are messing with them. You should never use gamma correction in a normal or a bump map.

Re: World light always from the left?

Posted: Sat Apr 14, 2018 11:36 am
by Racleborg
Hi Dade

So is this setup incorrect and that the gamma should be set to 2.2? (file attached)
Cheers