World light always from the left?

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.
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

World light always from the left?

Post 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
Attachments
world light on left.blend
(627.27 KiB) Downloaded 192 times
light on left.png
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: World light always from the left?

Post 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:
Attachments
untitled.jpg
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: World light always from the left?

Post by Racleborg »

Packed file attached.
Thanks
kintuX
Posts: 810
Joined: Wed Jan 10, 2018 2:37 am

Re: World light always from the left?

Post 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:
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: World light always from the left?

Post by Racleborg »

Great. Thank you for the info.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: World light always from the left?

Post 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).
Attachments
Cycles
Cycles
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: World light always from the left?

Post by Racleborg »

BYOB

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

Thanks
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: World light always from the left?

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

Re: World light always from the left?

Post 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.
Support LuxCoreRender project with salts and bounties
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: World light always from the left?

Post by Racleborg »

Hi Dade

So is this setup incorrect and that the gamma should be set to 2.2? (file attached)
Cheers
Attachments
gamma 1.PNG
Post Reply