Normal map render with OpenCL

Use this forum for general user support and related questions.
Dmi3ryd
Posts: 16
Joined: Mon Mar 02, 2020 10:36 am

Normal map render with OpenCL

Post by Dmi3ryd » Fri Jun 19, 2020 9:37 am

Hi there.

I am having trouble rendering normal map.
If I select CPU as Device, the card renders normally and is similar to the one in the viewport.
If I switch Device to OpenCL it is practically invisible. What could be the problem and how to solve it?

Unfortunately, I can’t provide the image, because this is a personal project.

Thanks.

User avatar
Dade
Developer
Posts: 4376
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Normal map render with OpenCL

Post by Dade » Fri Jun 19, 2020 10:48 am

What version are you using ?
Support LuxCoreRender project with salts and bounties

Dmi3ryd
Posts: 16
Joined: Mon Mar 02, 2020 10:36 am

Re: Normal map render with OpenCL

Post by Dmi3ryd » Fri Jun 19, 2020 11:33 am

2.3

User avatar
Dade
Developer
Posts: 4376
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Normal map render with OpenCL

Post by Dade » Fri Jun 19, 2020 11:47 am

Dmi3ryd wrote:
Fri Jun 19, 2020 11:33 am
2.3
Try with v2.4, the problem is likely to have already been fixed.
Support LuxCoreRender project with salts and bounties

Dmi3ryd
Posts: 16
Joined: Mon Mar 02, 2020 10:36 am

Re: Normal map render with OpenCL

Post by Dmi3ryd » Fri Jun 19, 2020 11:56 am

Could you please help me with links?
Where can I find latest dev build?

User avatar
Dade
Developer
Posts: 4376
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Normal map render with OpenCL

Post by Dade » Fri Jun 19, 2020 12:10 pm

Dmi3ryd wrote:
Fri Jun 19, 2020 11:56 am
Could you please help me with links?
Where can I find latest dev build?
Here: viewtopic.php?f=9&t=736
Support LuxCoreRender project with salts and bounties

Dmi3ryd
Posts: 16
Joined: Mon Mar 02, 2020 10:36 am

Re: Normal map render with OpenCL

Post by Dmi3ryd » Fri Jun 19, 2020 12:16 pm

Thank you!

Dmi3ryd
Posts: 16
Joined: Mon Mar 02, 2020 10:36 am

Re: Normal map render with OpenCL

Post by Dmi3ryd » Tue Jun 23, 2020 6:38 am

Version 2.4 did not solve my problem!

I found the source of this problem.
If you use the material (with normal map) directly, when you turn on OpenCL, everything works correctly.
If you mix one material (with normal map) with greyscale image mask, then in this case something happens to the normals.
It feels like they are getting blurry.

Everything is displayed correctly in the viewport, but when rendering through OpenCL, a problem is visible.
With CPU no problem.

Tested on version 2.4 updated yesterday.

User avatar
Dade
Developer
Posts: 4376
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Normal map render with OpenCL

Post by Dade » Tue Jun 23, 2020 8:46 am

Can you post a test scene showing the problem ?
Support LuxCoreRender project with salts and bounties

Dmi3ryd
Posts: 16
Joined: Mon Mar 02, 2020 10:36 am

Re: Normal map render with OpenCL

Post by Dmi3ryd » Tue Jun 23, 2020 11:32 am

Yes sure.

Here is the video in which I show the problem:
https://youtu.be/vNm_WlZtlvs

If the video is of poor quality, please wait a while, as currently encoding is in HD quality.

Project files here:
https://www.dropbox.com/sh/2yra3awtwp7j ... LkE8a?dl=0

Post Reply