Hey,
I was wondering if it's possible to get the lighting contribution from the Environment Light into the Indirect rather than the Direct for better compositing purposes.
I tried switching the “Rendering Mode” but it didn't add the samples in the Indirect.
Any ideas?
Thanks
How to put the Enviroment Light samples into the indirect
3305 5 0- hibatchi
- Member
- 65 posts
- Joined: 11月 2013
- Online
- mzigaib
- Member
- 976 posts
- Joined: 4月 2008
- Offline
If you switch the “rendering mode” your env light is going to act like an emissive object according to the manual, so you are going to get a indirect contribution light it is not going to show on direct or indirect image planes you are going only to see it on the “indirect_emission” plane.
Generally I use 2 Environment lights one for direct and one for indirect light, it works well for me.
According to the manual:
"The environment will contribute to the scene indirectly for shaders that trace rays that exit the scene. This mode is supported through the resolvemissedray VEX function, which can be used in shaders to query the background illumination for a given ray. Ray Tracing Background mode is supported for the following scenarios:
PBR rendering (either micropolygon or raytracing)
Non-PBR rendering when using the Surface Model VOP
In this mode, deep rasters from the environment light will appear in the “indirect_emission” export plane rather than the per-light diffuse/reflect/refract planes. This will occur because the light is treated like an emissive background object rather than as a true light source."
I hope that helps.
Generally I use 2 Environment lights one for direct and one for indirect light, it works well for me.
According to the manual:
"The environment will contribute to the scene indirectly for shaders that trace rays that exit the scene. This mode is supported through the resolvemissedray VEX function, which can be used in shaders to query the background illumination for a given ray. Ray Tracing Background mode is supported for the following scenarios:
PBR rendering (either micropolygon or raytracing)
Non-PBR rendering when using the Surface Model VOP
In this mode, deep rasters from the environment light will appear in the “indirect_emission” export plane rather than the per-light diffuse/reflect/refract planes. This will occur because the light is treated like an emissive background object rather than as a true light source."
I hope that helps.
- hibatchi
- Member
- 65 posts
- Joined: 11月 2013
- Online
I changed the environment light to “Raytracing Background” and added the word “emission” to the Export Components field.
In the Render View display, a direct-emission and indirect emission component were created, but the render is black.
Is there another checkbox somewhere I'm mission to include emission?
In the Render View display, a direct-emission and indirect emission component were created, but the render is black.
Is there another checkbox somewhere I'm mission to include emission?
- hibatchi
- Member
- 65 posts
- Joined: 11月 2013
- Online
- milesvignol
- Member
- 4 posts
- Joined: 11月 2013
- Offline
- hibatchi
- Member
- 65 posts
- Joined: 11月 2013
- Online
-
- Quick Links