[Blender] Can't figure out how to make light passes work

Forums: [Blender] Can't figure out how to make light passes work
A public forum for discussing and asking questions about the demo version of Octane Render.
Forum rules
For new users: this forum is moderated. Your first post will appear only after it has been reviewed by a moderator, so it will not show up immediately.
This is necessary to avoid this forum being flooded by spam.

[Blender] Can't figure out how to make light passes work

Postby xandrm1 » Fri Sep 11, 2020 10:55 am

xandrm1 Fri Sep 11, 2020 10:55 am
I assign IDs to my lamps, in Render Settings I click on the pass numbers to enable them. So here's the weird thing: clicking on [1] makes all my lamps appear. Clicking on [2] makes none of them appear, despite some of them having an ID of '2'. If I don't enable light IDs action, clicking on [1] disables all lights in the scene. I'm beyond confused.
Image
Lamp settings:
Image

In Object Properties tab of the lamp I found this. No idea what it does and how it works.
Image

As for the final light passes in a render, they come out exactly the same as in viewport. Any tips?
xandrm1
 
Posts: 2
Joined: Thu Jan 16, 2020 3:15 pm

Re: [Blender] Can't figure out how to make light passes work

Postby funk » Mon Sep 14, 2020 12:46 pm

funk Mon Sep 14, 2020 12:46 pm
I use the modo plugin and only dabble with the blender plugin but I'll try to help.

- You don't need to change any of the render > kernel > light options. These are global toggles (eg to turn off all lights in light pass id 1 etc).
- You don't need to adjust object properties > light pass mask either. This allows you to exclude the particular object from being lit by a light pass id.
- It looks like your light node setup is incorrect too (its set up as a toon light), because you clicked "use nodes" while it was a point light.

The steps to get this working are:

1. Its best to add an area light (or change the point to an area), THEN click "use nodes" so the right nodes are automatically created for you (diffuse material + texture emission).
2. Then each light > texture emission > light pass ID should be set.
3. Enable the light passes under: View layer > passes > lighting
4. If you want to see each light pass in the preview, you can use: View layer > passes > preview pass. Make sure to set back to combined to see the beauty render later.
5. f12 to render. Each light pass will get its own slot in the pass dropdown list

I have attached a sample scene
Attachments
light_pass_id_example.zip
(92.57 KiB) Downloaded 4 times
Win10 Pro 64 / Core i7-975 3.33GHz / 12GB RAM / GTX 1080 Ti + GTX 670 / 2x1920x1200 / MODO 14
"I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live" - Jesus Christ
User avatar
funk
Licensed Customer
Licensed Customer
 
Posts: 904
Joined: Mon Feb 07, 2011 1:24 pm
Location: Australia

Re: [Blender] Can't figure out how to make light passes work

Postby xandrm1 » Mon Sep 14, 2020 6:12 pm

xandrm1 Mon Sep 14, 2020 6:12 pm
Hey funk thanks for such a detailed reply.

I actually got it working 2 hours after submitting this post, but couldn't take it back as it was already out pending approval from the forum moderators and was out of my hands.

It was exactly as you wrote to the letter. It was all because of toon lights which I generated exactly by clicking 'use nodes' on a point lamp. When I clicked 'use nodes' on an area lamp it generated proper texture emission->diffuse material and worked right off the bat. The "Light pass ID" in toon lights really got me fooled!
xandrm1
 
Posts: 2
Joined: Thu Jan 16, 2020 3:15 pm

Re: [Blender] Can't figure out how to make light passes work

Postby funk » Tue Sep 15, 2020 6:25 am

funk Tue Sep 15, 2020 6:25 am
I'm glad you got it sorted out :)
Win10 Pro 64 / Core i7-975 3.33GHz / 12GB RAM / GTX 1080 Ti + GTX 670 / 2x1920x1200 / MODO 14
"I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live" - Jesus Christ
User avatar
funk
Licensed Customer
Licensed Customer
 
Posts: 904
Joined: Mon Feb 07, 2011 1:24 pm
Location: Australia

Return to Demo Version Questions & Discussion


Who is online

Users browsing this forum: No registered users and 1 guest

Sun Sep 27, 2020 6:02 am [ UTC ]