Normal map render with OpenCL

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.
Dmi3ryd
Posts: 16
Joined: Mon Mar 02, 2020 10:36 am

Normal map render with OpenCL

Post by Dmi3ryd »

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

Re: Normal map render with OpenCL

Post by Dade »

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 »

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

Re: Normal map render with OpenCL

Post by Dade »

Dmi3ryd wrote: Fri Jun 19, 2020 11:33 am2.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 »

Could you please help me with links?
Where can I find latest dev build?
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Normal map render with OpenCL

Post by Dade »

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 »

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

Re: Normal map render with OpenCL

Post by Dmi3ryd »

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

Re: Normal map render with OpenCL

Post by Dade »

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 »

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