I have an image that I'd like to blend into another image. Using the gradient tool to draw black on a layer mask works fine, but I'm limited to just straight lines or circles. What I need is a rectangular shape.

I can create a rectangle and then add an inner glow effect, but I can't seem to add that rectangle to my layer mask...

Any help would be great!

I'm using Photoshop CS6.


2 Answers 2


Here is one method to create a custom shaded gradient or a gradient along a path

  1. Draw a shape on its own layer:

Step 1 for Curved Gradient

  1. Stroke the shape, it'll start something like this:

Step 2 for Curved Gradient

  1. Adjust to Inside and then Size until it fills your shape. In this example 18 did the trick. Really you can adjust all the way up since it won't go outside the edge anyways.

Step 3 for Curved Gradient

  1. Change from Solid to Gradient and then just adjust as you need to

Step 4 for Curved Gradient

  1. Set the style to Shape Burst

Step 5 for Curved Gradient


Simply use a linear, black to transparent, gradient and draw inward from the 4 edges of the layer mask.

Another method would be to simply create a hard edge black border on the layer mask then run Filter > Blur > Radial Blur on the layer mask.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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