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!
Is this the same thing you were asking about here:
not really :( this one's about those bright lights in the video the other thread is about sun shafts coming from those windows
Answer by Dan the Man
Jun 14, 2011 at 05:31 PM
Here's something! ...unity image effects. The only problem is that it requires Unity Pro. Good luck! ;)
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
how about this: http://goo.gl/vYAzM ?
Answer by jorjdboss
Mar 12, 2012 at 12:56 PM
Ok here's how I did it on the basic version:
Create a Sphere(or some imported model) and set its shader to Self-Illuminated, set a color if you want.
Create a particle and parent it to the light object.
Now Tweak the particle in the Inspector till you have a single particle slightly larger than the size of the lamp itself.
Create a second camera object and disable all its components except Camera, parent it to the main camera
Create a New layer called something like "LightGlow", Select the particle and assign it to the this layer
Select the new camera and in the Inspector change Clear Flags to "Depth Only".
Set its Culling Mask to the "LightGlow" layer.
Select the Main camera and in its Culling Mask, uncheck "LightGlow Layer"
Set the Secondary Camera's Depth to something greater than the Primary Camera's Depth.
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...
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?
Answer by AngelaTrehan1
Apr 19, 2012 at 03:20 PM
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!!
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
To help users post good questions and use the site effectively we have posted a user guide. Please check it out.
Answers and Comments
6 People are following this question.
volumetric light/sun shaft test
Is it possible to create a glass shader in Unity Free?
Making glowing lines and shapes
A node in a childnode?
Surface shader with VertexLit causes black object