Jump to content

pyro : export variable for each light


Recommended Posts

Hello everyone,

I have a simple volume object, with a pyro shader applied to it. I then add to simple lights with shadow map.

Everything renders fine. But now I would like to to export each light influence separatly.

When I create extra image planes to do that, I can't get what I need :

I have tried : direct_diffuse, direct_volume, smoke_color, and a bunch of other variables .... and still nothing.

Is there a way to get extra image planes with separate light infuence ?

I hope I'am clear

Link to comment
Share on other sites

In order to do per light exports, you need to put the export parameters inside the illuminance loop for micropolygon and raytracing. For PBR, it's more of a challenge.

Currently none of the volumetric shaders (pyro, billowy, basic smoke) ship with per-light exports. Only the Pyro Shader ships with any exports at all.

Have you tried rendering out your lights one with pure red, one with green and one with blue? The R, G and B channels each would then represent each light in comp. If you have a look at the DD breakdown reels from the past wrt volumetrics, you will see three lights, R G and B in the pass so that each can be separated in comp and then adjusted.

  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...