Baking Bevel in Cycles
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
-
- Posts: 135
- Joined: Fri Jul 06, 2018 9:32 am
Baking Bevel in Cycles
Hey.
Has anybody successfully tried to bake the Bevel node in Cycles and used it as an interim Bevel shader in Luxcore? The baking part in Cycles seems to work well, but using the baked normal map doesn't look right in Luxcore. Is there anything I have to take care about in Luxcore when using this workflow?
Here's a simple mesh and the corresponding normal map that I baked in Cycles - I used the OpenGL version of baking it.
http://www.argfx.at/upload/BakeBevel_01.zip
And here is the node setup that I used in Luxcore.
Cheers.
Has anybody successfully tried to bake the Bevel node in Cycles and used it as an interim Bevel shader in Luxcore? The baking part in Cycles seems to work well, but using the baked normal map doesn't look right in Luxcore. Is there anything I have to take care about in Luxcore when using this workflow?
Here's a simple mesh and the corresponding normal map that I baked in Cycles - I used the OpenGL version of baking it.
http://www.argfx.at/upload/BakeBevel_01.zip
And here is the node setup that I used in Luxcore.
Cheers.
Re: Baking Bevel in Cycles
imported fbx, set scene for cycles, rendered with eevee & cycles for reference,
switch to LuxCore, "use cycles settings", set ibl/hdr, render looks fine...
Cycles
Eevee
LuxCore
LuxCore Node Tree 1. edit: updated with LuxCore Material Node Tree
2. edit: indeed, after further testing it looks like there's discrepancy in one of the axes(?)
OGL
DX
switch to LuxCore, "use cycles settings", set ibl/hdr, render looks fine...
Cycles
Eevee
LuxCore
LuxCore Node Tree 1. edit: updated with LuxCore Material Node Tree
2. edit: indeed, after further testing it looks like there's discrepancy in one of the axes(?)
OGL
DX
- Attachments
-
- BakeBevel_01_X.blend
- (110.78 KiB) Downloaded 151 times
-
- Posts: 135
- Joined: Fri Jul 06, 2018 9:32 am
Re: Baking Bevel in Cycles
Thanks for giving it a try and the elaborate reply. But somehow I can't get it to work properly - even with your scene.
Here are the 4 version that I compared. As you can see, the faces in the Cycles rendering look the same, no matter if the edges are beveled or not. In the Luxcore version, the faces already look a bit odd - even in the non-beveled version. Somehow they don't seem to be completely flat. And once the bevel is applied, the normals are completely off.
Here's the scene ...
http://www.argfx.at/upload/BakeBevel_02.zip
Which version of Luxcore are you using? The latest version of V2.5 as well?
Cheers.
Here are the 4 version that I compared. As you can see, the faces in the Cycles rendering look the same, no matter if the edges are beveled or not. In the Luxcore version, the faces already look a bit odd - even in the non-beveled version. Somehow they don't seem to be completely flat. And once the bevel is applied, the normals are completely off.
Here's the scene ...
http://www.argfx.at/upload/BakeBevel_02.zip
Which version of Luxcore are you using? The latest version of V2.5 as well?
Cheers.
Re: Baking Bevel in Cycles
Can you bake a cube with bevel edges and post the the texture image you are using for the LuxCore rendering ?
Are you sure the baked texture image is a normal map and not a bump map ?
Are you sure the baked texture image is a normal map and not a bump map ?
-
- Posts: 135
- Joined: Fri Jul 06, 2018 9:32 am
Re: Baking Bevel in Cycles
It's a normal map. In my initial posting you can see a link and download it. Did the scene from my previous post work for you?
-
- Posts: 146
- Joined: Sat Feb 22, 2020 3:29 am
Re: Baking Bevel in Cycles
I intrude into the discussion, wasn't the shader bevel expected to come in version 2.5?
Re: Baking Bevel in Cycles
I have no idea how Blender/Cycles/etc. work.AndreasResch wrote: ↑Wed Mar 03, 2021 3:25 pm It's a normal map. In my initial posting you can see a link and download it. Did the scene from my previous post work for you?
-
- Posts: 135
- Joined: Fri Jul 06, 2018 9:32 am
Re: Baking Bevel in Cycles
Here's a normal map for a beveled cube, baked in Cycles.
http://www.argfx.at/upload/BevelBake_Normal_02.zip
Re: Baking Bevel in Cycles
The work is going on this (v2.6) branch: https://github.com/LuxCoreRender/LuxCor ... geom_bevelJulianoLisboa wrote: ↑Wed Mar 03, 2021 5:23 pm I intrude into the discussion, wasn't the shader bevel expected to come in version 2.5?Bevel Shader.png
-
- Posts: 135
- Joined: Fri Jul 06, 2018 9:32 am