Forums > Digital Art and Retouching > How to create light rays?

Retoucher

J Strath

Posts: 928

Los Angeles, California, US

https://th00.deviantart.net/fs28/300W/i/2009/255/a/e/Shaft_of_light_1_by_InKi_Stock.jpg

Hey, does anyone know how to create realistic light rays like in the above picture?  I would just use some from stock, but I need light rays on a blank background, which I can't find.  So yeah, any tips on how to create light like this?  Thanks!

May 01 10 10:45 pm Link

Photographer

Groundwerks Productions

Posts: 692

Salem, Oregon, US

Easiest way I can think of is to do a circular gradient from the color of your choice to transparent, with the center point being the light source.  Paint out streaks in it and reduce the transparency till it looks good.

May 01 10 10:48 pm Link

Photographer

Randall Photography

Posts: 514

Los Angeles, California, US

direct light source (maybe gridded?), high and way back flashing into a dusty/smokey space

May 01 10 10:51 pm Link

Photographer

Groundwerks Productions

Posts: 692

Salem, Oregon, US

Randall Photography wrote:
direct light source (maybe gridded?), high and way back flashing into a dusty/smokey space

Heh, what's funny is I didn't think of taking an actual picture.  smile

May 01 10 10:53 pm Link

Retoucher

J Strath

Posts: 928

Los Angeles, California, US

Haha well maybe if I had a fancy camera, I would take a picture.  But I'm limited to a Sony Cybershot and little knowledge of photography...so I only have my old version of Photoshop CS to work with.  XD  Sigh....I'm so poor. Hahahaha

May 01 10 10:58 pm Link

Photographer

Randall Photography

Posts: 514

Los Angeles, California, US

Groundwerks Productions wrote:

Heh, what's funny is I didn't think of taking an actual picture.  smile

haha, I'm a big "do as much as possible in camera" kinda guy cause I hate having to do it in photoshop tongue

May 01 10 11:00 pm Link

Photographer

NothingIsRealButTheGirl

Posts: 35726

Los Angeles, California, US

I suggest making a grad on black and then gradient mapping color into it.

Make the high end white, introduce a pale color, and then maybe make it a deeper darker color before it finally goes black.

Put curves or exposure between the grad and the gradient map.

If you curve the gard brighter, more of it will push through the pale color into the white.

If you curve the grad darker, more of it will fall into the deeper hue.

If you make the beams very dark they will take on the deep color you designated for the beam just before it dies.

Then shape it and comp it with a layer mask.

May 01 10 11:02 pm Link

Retoucher

Lunarimaging

Posts: 296

Chicago, Illinois, US

NothingIsRealButTheGirl wrote:
I suggest making a grad on black and then gradient mapping color into it.

Make the high end white, introduce a pale color, and then maybe make it a deeper darker color before it finally goes black.

Put curves or exposure between the grad and the gradient map.

If you curve the gard brighter, more of it will push through the pale color into the white.

If you curve the grad darker, more of it will fall into the deeper hue.

If you make the beams very dark they will take on the deep color you designated for the beam just before it dies.

Then shape it and comp it with a layer mask.

this is a good idea smile

I was gonna throw out there to you just use the polygon lasso tool and make ray shapes, fill them in with a lighter yellowish white color.  Then deselect and gaussian blur them and lower the opacity.

May 01 10 11:26 pm Link

Retoucher

FLEXmero

Posts: 1001

Madrid, Madrid, Spain

Just use custom brushes. There are hundreds of good light beam brushes out there.

May 02 10 03:11 am Link

Retoucher

Peano

Posts: 4106

Lynchburg, Virginia, US

If you can't find suitable brushes, here's a simple way to make sunrays.

https://i1005.photobucket.com/albums/af171/retouch46/sunray1.jpg
1. On a blank layer, paint some stripes of varying widths. 100% brush opacity. Hold shift to make straight lines.
_____________________________



https://i1005.photobucket.com/albums/af171/retouch46/sunray2.jpg
2. Apply Gaussian blur.
_____________________________



https://i1005.photobucket.com/albums/af171/retouch46/sunray3.jpg
3. Use Transform > Perspective to spread the bottom out and squeeze the top together. You can pull the bottom out beyond the image frame for a wider spread of sunrays.
_____________________________



https://i1005.photobucket.com/albums/af171/retouch46/sunray4.jpg
4. Change blend mode to Screen and reduce layer opacity to get the effect you want. You can also add a layer mask and fade parts of the beams wherever you like.

May 02 10 08:13 am Link

Photographer

R A V E N D R I V E

Posts: 15867

New York, New York, US

very cool, I wouldn't have done it that way

I would have done a way that actually involved some painting (which I have no patience for):

make an Exposure layer mask
bump up the exposure +1 and maybe the gamma a little
and mask out the parts you want.

May 02 10 08:53 am Link

Retoucher

J Strath

Posts: 928

Los Angeles, California, US

Ah Peano...I love you. XD

haha, awesome tips everyone!  I will try them all out.

May 02 10 08:28 pm Link

Photographer

NothingIsRealButTheGirl

Posts: 35726

Los Angeles, California, US

HuggleMistress wrote:
awesome tips everyone!  I will try them all out.

https://th00.deviantart.net/fs28/300W/i/2009/255/a/e/Shaft_of_light_1_by_InKi_Stock.jpg

Just remember the beams are usually only white at the top due to exposure. You generally don't want to leave them white (monochromatic gray) all the way down the beam.

May 02 10 08:32 pm Link

Photographer

David Simpson Images

Posts: 1328

Bangor, Maine, US

I used the filter lighting effects for this beam of light its under "render"

a layer mask could be used to break the beam up.


https://modelmayhm-2.vo.llnwd.net/d1/photos/090524/20/4a1a139a3d457_m.jpg

May 02 10 08:40 pm Link

Photographer

NothingIsRealButTheGirl

Posts: 35726

Los Angeles, California, US

https://dacarc.files.wordpress.com/2008/11/grandcentral.jpg

Also when airborne particles scatter light the beam becomes somewhat opaque. I'm not sure the screen blend mode is the best way to model what they do. Have to think about it a bit.

May 02 10 08:55 pm Link

Photographer

NothingIsRealButTheGirl

Posts: 35726

Los Angeles, California, US

David Simpson Images wrote:
I used the filter lighting effects for this beam of light its under "render"

a layer mask could be used to break the beam up.


https://modelmayhm-2.vo.llnwd.net/d1/photos/090524/20/4a1a139a3d457_m.jpg

There is also the 'zoom' version of motion blur. That filter operates from the center of an image, so you usually have to work off center in a larger canvas to make that line up right.

May 02 10 08:56 pm Link

Photographer

Zarco

Posts: 778

New York, New York, US

Peano wrote:
If you can't find suitable brushes, here's a simple way to make sunrays.

Do you hear me clapping?

Well I am. Great input. wow to the generosity too.

May 02 10 09:03 pm Link

Retoucher

J Strath

Posts: 928

Los Angeles, California, US

By the way, I'm creating these light rays to look like they're underwater.  Don't know if that makes a difference at all.  But so far, Peano's technique has worked best.  Downloading premade brushes would be another easy suggestion, however I need them to be bigger than 2500px.  Also, instead of white, I used a blue color though to give the underwater effect.  I should post it here when I'm done. smile

May 02 10 10:28 pm Link

Photographer

NothingIsRealButTheGirl

Posts: 35726

Los Angeles, California, US

HuggleMistress wrote:
By the way, I'm creating these light rays to look like they're underwater.

You probably don't want just a single color.

Those can often go whitish to cyan to blue as you move along the beam

depends on the scene

May 02 10 10:47 pm Link

Photographer

Dudley Watson

Posts: 1737

Roseburg, Oregon, US

I'm nowhere a PhotoShop expert, but was wondering if a Gradient filter would help?
Say a white on top to gray (or whatever color you wish to use?).

May 02 10 11:46 pm Link

Retoucher

Peano

Posts: 4106

Lynchburg, Virginia, US

HuggleMistress wrote:
Also, instead of white, I used a blue color though to give the underwater effect.  I should post it here when I'm done. smile

You can also color the rays by clipping a hue/sat adjustment layer to the rays layer. Tick the colorize box and drop the lightness slider just a little (because you can't colorize white; need a light gray for the color to "take").

Or, you can clip the hue/sat layer to your color layer and adjust the hue slider. That way you don't have to fuss around getting exactly the right color for the rays; you can shift it about with the hue/sat adjustment.

May 03 10 07:43 am Link

Photographer

Lusk Photo

Posts: 500

Dallas, Texas, US

https://modelmayhm-3.vo.llnwd.net/d1/photos/100301/15/4b8c512aeea06.jpg

Like this?

May 03 10 05:10 pm Link

Retoucher

J Strath

Posts: 928

Los Angeles, California, US

https://th08.deviantart.net/fs70/300W/f/2010/125/c/8/c860c8b57099a7982c8eb10307785d39.png

It's not done yet....but the light rays are pretty much done.  Okay you guys, this is what I made with you're guy's help.  Again, Peano, you are awesome!  XD Everyone was a lot of help!

May 05 10 11:29 pm Link

Retoucher

Natalia_Taffarel

Posts: 7665

Buenos Aires, Buenos Aires, Argentina

HuggleMistress wrote:
https://th08.deviantart.net/fs70/300W/f/2010/125/c/8/c860c8b57099a7982c8eb10307785d39.png

It's not done yet....but the light rays are pretty much done.  Okay you guys, this is what I made with you're guy's help.  Again, Peano, you are awesome!  XD Everyone was a lot of help!

May 06 10 11:01 am Link

Retoucher

JCDM

Posts: 62

Los Angeles, California, US

Natalia_Taffarel wrote:
Nice.

This is easy and I LOVE her brushes

http://www.obsidiandawn.com/light-beams … mp-brushes

Great brushes for sure, Thanks Natalia for the link!

May 06 10 08:05 pm Link

Retoucher

Peano

Posts: 4106

Lynchburg, Virginia, US

JCDM wrote:
Great brushes for sure, Thanks Natalia for the link!

Ditto. These are keepers!

https://img10.imageshack.us/img10/1112/beamsr.jpg

May 06 10 08:14 pm Link

Retoucher

JCDM

Posts: 62

Los Angeles, California, US

Peano wrote:
Ditto. These are keepers!

https://img10.imageshack.us/img10/1112/beamsr.jpg

I like your way too Peano!! Very nice! Very versatile.

Thanks!

May 06 10 08:33 pm Link

Digital Artist

Nathanfx

Posts: 251

Chelsea, New York, US

Most Compositing Packages like Nuke have a "godrays" plug in that looks at the image and projects this for you.

May 07 10 07:02 pm Link