x


Light glow effect test

Hello, I'm a student from a design university in Germany and currently I'm learning to work properly with unity and got stuck on advanced lightning effects.

I just watched this http://www.youtube.com/watch?v=yt0K1IEm7Ik&feature=channel Video which really inspired and amazed me. I tried to get a similar effect too but i couldn't handle it by myself. In depth what interests me most are the lights at the carpet and at the outer border of the windows

Especially my current project looks this way, you can check out my web player build over here: http://dl.dropbox.com/u/17409359/Lights/WebPlayer.html

I would be very pleased if you could help me out to get a proper glow effect or at least give me some hints (:

Wish you a lovely day!

more ▼

asked Jun 08, 2011 at 10:36 AM

cux.soulhunter gravatar image

cux.soulhunter
61 22 18 19

Is this the same thing you were asking about here:

http://answers.unity3d.com/questions/127596/volumetric-lightsun-shaft-test.html

?

Jun 14, 2011 at 10:04 PM Chris D

not really :( this one's about those bright lights in the video the other thread is about sun shafts coming from those windows

Jun 14, 2011 at 10:18 PM cux.soulhunter
(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

Here's something! ...unity image effects. The only problem is that it requires Unity Pro. Good luck! ;)

more ▼

answered Jun 14, 2011 at 05:31 PM

Dan the Man gravatar image

Dan the Man
155 26 21 31

As u see in my project, I've got image effects activated, but I don't know how to archieve the effects properly. Tried different settings but couldn't get it as seen in the youtube video

whats im looking for are those bright light settings

Jun 14, 2011 at 09:48 PM cux.soulhunter

how about this: http://goo.gl/vYAzM ?

Jun 15, 2011 at 05:34 PM Dan the Man
(comments are locked)
10|3000 characters needed characters left

Ok here's how I did it on the basic version:

  1. Create a Sphere(or some imported model) and set its shader to Self-Illuminated, set a color if you want.
  2. Create a particle and parent it to the light object.
  3. Now Tweak the particle in the Inspector till you have a single particle slightly larger than the size of the lamp itself.
  4. Create a second camera object and disable all its components except Camera, parent it to the main camera
  5. Create a New layer called something like "LightGlow", Select the particle and assign it to the this layer
  6. Select the new camera and in the Inspector change Clear Flags to "Depth Only".
  7. Set its Culling Mask to the "LightGlow" layer.
  8. Select the Main camera and in its Culling Mask, uncheck "LightGlow Layer"
  9. Set the Secondary Camera's Depth to something greater than the Primary Camera's Depth.
  10. This should give you a fairly decent looking light glow effect without using Bloom.

Note: If you want to get a better effect, Change the Texture for the particle and its color if needed. If there's a possibility of an object blocking the light, put it in the "LightGlow" Layer as well. This method does NOT require a light in the scene, everything can be lightmapped and make the light object appear to emit light.

Hope this helps...

more ▼

answered Mar 12, 2012 at 12:56 PM

jorjdboss gravatar image

jorjdboss
263 8 10 15

I know this is an old post but it came up in a search. I'm curious to try your method but do you have an example image for how this looks?

Nov 15, 2013 at 09:14 AM Essential
(comments are locked)
10|3000 characters needed characters left

I am following all the steps as written but my culling mask for the second camera is not working, second camera is putting glow on all the layers. Its behaving very strange, please put some light on it!!

Thanks! Angela

more ▼

answered Apr 19, 2012 at 03:20 PM

AngelaTrehan1 gravatar image

AngelaTrehan1
0

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x7060
x3151
x886
x337
x124

asked: Jun 08, 2011 at 10:36 AM

Seen: 9147 times

Last Updated: Nov 15, 2013 at 09:14 AM