Questions about ViewLayers and Holdout in Blender (4.2.9 LTS) with BlendLuxCore v2.10-alpha2

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.
Post Reply
mazadak_
Posts: 2
Joined: Fri May 02, 2025 10:00 am

Questions about ViewLayers and Holdout in Blender (4.2.9 LTS) with BlendLuxCore v2.10-alpha2

Post by mazadak_ »

Hello. As the title suggests, I have some questions to which I couldn't find an answer to. I am relatively new to LuxCore, coming from Cycles. I do some VFX work, and decided to switch because of LuxCore's built in realism. Now I need some help finding a way of rendering, as an example, a shadow pass as its own Layer. I know how to set up a shadow catcher, and I know all the other bits as they directly translate from Cylces to LuxCore. Everything, except Holdouts for ViewLayer (the layer with my object) and ViewLayer_001 (the layer with the shadow catcher). I want to have both objects in my layers, but only one visible at a time. My LuxCore keeps crashing when I do that (rendering on an MX550 2GB with CUDA-backend). I've found the "Holdout" option in the material settings, but it's like disabling one layer, rendering the other and switching manually. This is possible, but my renders take long and I'd like to just leave it overnight doing its thing automatically, rather than trying to catch the perfect time to start the second layer. Any help highly appreciated.
CodeHD
Developer
Developer
Posts: 462
Joined: Tue Dec 11, 2018 12:38 pm
Location: Germany

Re: Questions about ViewLayers and Holdout in Blender (4.2.9 LTS) with BlendLuxCore v2.10-alpha2

Post by CodeHD »

Hello,
Can you provide a (simple) test scene in the form of a .blend-file that produces a crash for you?
This is needed to determine if it is hardware specific, or due to some particular settings.
It will also help to understand what exactly you are trying to achieve as a resulting image.
mazadak_
Posts: 2
Joined: Fri May 02, 2025 10:00 am

Re: Questions about ViewLayers and Holdout in Blender (4.2.9 LTS) with BlendLuxCore v2.10-alpha2

Post by mazadak_ »

Here's the requested sample scene.
Attachments
render_layer_test_lux.blend
(1.05 MiB) Downloaded 362 times
CodeHD
Developer
Developer
Posts: 462
Joined: Tue Dec 11, 2018 12:38 pm
Location: Germany

Re: Questions about ViewLayers and Holdout in Blender (4.2.9 LTS) with BlendLuxCore v2.10-alpha2

Post by CodeHD »

Thanks.

Now that I run the scene, I relaize I could have spotted the issue from the title...
There was an Issue with ViewLayers that got fixed with v2.10.0-rc.1

I tested your example scene and it seems to work fine here.
I suggest you test the new rc-version as well:
https://github.com/LuxCoreRender/BlendL ... .10.0-rc.1
Post Reply