0
$\begingroup$

So, this is my node setup and as you can see the sunbeams affect the entire image.

enter image description here

However, I only want it to emit out of the doorway. So I created a mask for that and plugged it into the factor input.

enter image description here

But the output isn't exactly accurate.

enter image description here

So, how do I solve this?

$\endgroup$
  • $\begingroup$ You might start by centering the sun beams on the door a bit better...there isn't much of the effect by the door anyway. $\endgroup$ – JakeD Nov 12 '17 at 19:34
  • 1
    $\begingroup$ I see the mask now. You could use the mask to darken the rest of the picture, pass it through the sunbeam node, then add the result to the base picture. $\endgroup$ – Ron Proctor Nov 12 '17 at 19:54
  • 1
    $\begingroup$ Yes I think so. I'm working on an example for you. $\endgroup$ – Ron Proctor Nov 12 '17 at 20:01
  • 2
    $\begingroup$ @Tejas The sunbeam node has (x,y) parameters at the top. Adjust those to move its source around the image. $\endgroup$ – JakeD Nov 12 '17 at 20:57
  • 2
    $\begingroup$ @Tejas x is left/right, y is up/down (directions: +x >, -x <, +y ^, -y v). As in the Cartesian coordinate system: en.wikipedia.org/wiki/Cartesian_coordinate_system#/media/… Try playing with different values to get a feel for how it works. $\endgroup$ – JakeD Nov 12 '17 at 21:10
1
$\begingroup$

The mask was limiting the result of the sunbeam node to the doorway itself. You can multiply the mask against the image, then run that through sunbeam and add the result to the original image.

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.