LightWrap
LightWrap can help composite objects into a very bright background by ’wrapping’ or spilling light from the background onto the foreground object. The node creates a reflection of light around the edges of your foreground object by blending in whatever is in the background.
You should apply LightWrap on your foreground element before you composite the foreground over the background with the Merge node.
Inputs and Controls
Connection Type |
Connection Name |
Function |
Input |
A |
The foreground image. |
B |
A background that will bleed light into the foreground image. |
Control (UI) |
Knob (Scripting) |
Default Value |
Function |
LightWrap Tab |
|||
Diffuse |
size |
15 |
Adjusts the spread of the reflections on the foreground element. This and Intensity need to be balanced out together. You may want to start by bringing Diffuse all the way down to better see what you are blending in from the background. Then, adjust Intensity before going back to the Diffuse slider and, if necessary, Intensity again until you are happy with the result. |
Intensity |
Intensity |
0 |
Adjusts the brightness of the reflections on the foreground element. This and Diffuse need to be balanced out together. You may want to start by bringing Diffuse all the way down to better see what you are blending in from the background. Then, adjust Intensity before going back to the Diffuse slider and, if necessary, Intensity again until you are happy with the result. |
Generate wrap only |
onlywrap |
disabled |
When enabled, generates the LightWrap effect only, without merging it with the foreground object. |
Disable luminance based wrap |
disableluma |
disabled |
When enabled, creates a uniform effect around the edges of the foreground, rather than have the effect adjust itself according to the background. |
Enable Glow |
enableglow |
disabled |
When enabled, extends the effect outside the foreground object’s alpha, making the object seem to glow. |
FGBlur |
FGBlur |
1 |
Sets how much the foreground matte is blurred. The more blur, the more of the background is added to the foreground. |
BGBlur |
BGBlur |
0 |
Sets how much the background is blurred before it is merged with the foreground element. |
Saturation |
saturation |
1 |
Adjusts the saturation of the LightWrap effect. |
LumaTolerance |
LumaTolerance |
0 |
Adjusts the luminance values of the LightWrap effect. |
Highlight Merge |
highlightmerge |
plus |
Sets how the foreground object is merged with the background. The default merge operation, plus, adds the elements together, producing a glow effect. |
Use constant highlight |
useconstant |
disabled |
When enabled, a constant color of your choice rather than the background is used in the LightWrap effect. Select the color using the Constant control. |
Constant |
color |
1 |
Sets the color to use in the LightWrap effect when Use constant highlight is enabled. |
CCorrect Tab |
|||
white |
white |
1 |
This color remains unchanged when you adjust gamma. |
midtone bias |
gray |
0.18 |
Sets the center of midtones, remaining unchanged when you adjust contrast. |
master |
|||
contrast |
contrast |
1 |
Adjusts the contrast in the entire LightWrap effect. |
gamma |
gamma |
1 |
Adjusts the gamma in the entire LightWrap effect. |
gain |
gain |
1 |
Adjusts the gain in the entire LightWrap effect. |
offset |
offset |
0 |
Adjusts the offset in the entire LightWrap effect. |
shadows |
|||
gamma |
shadows_gamma |
1 |
Adjusts the gamma in the darkest parts of the LightWrap effect. |
gain |
shadows_gain |
1 |
Adjusts the gain in the darkest parts of the LightWrap effect. |
offset |
shadows_offset |
0 |
Adjusts the offset in the darkest parts of the LightWrap effect. |
midtones |
|||
gamma |
midtones_gamma |
1 |
Adjusts the gamma in the middle range of the LightWrap effect. |
gain |
midtones_gain |
1 |
Adjusts the gain in the middle range of the LightWrap effect. |
offset |
midtones_offset |
0 |
Adjusts the offset in the middle range of the LightWrap effect. |
highlights |
|||
gamma |
highlights_gamma |
1 |
Adjusts the gamma in the highlights of the LightWrap effect. |
gain |
highlights_gain |
1 |
Adjusts the gain in the highlights of the LightWrap effect. |
offset |
highlights_offset |
0 |
Adjusts the offset in the highlights of the LightWrap effect. |
mix |
mix |
1 |
Dissolves between the original LightWrap effect at 0 and the color corrected effect at 1. |