Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

local lighting effects

Anna Gulaev
Registered User
Join date: 25 Oct 2006
Posts: 154
02-19-2007 09:10
I made a piece of jewelry with a light in it and it's got a really cool reflection effect off the rest of the object. Works fine everywhere I go except my favorite club. There, no local lighting effects seem to work. Is this something sim owners can turn off?
Slave Vanmoer
Registered User
Join date: 17 Dec 2006
Posts: 21
02-19-2007 09:14
Mostly depends on the time of Day, not real life but ingame, so force midnight normally does the trick. The other thing might be that the clubowner set all the textures to full bright, then it would have no effect either, only on avatars then.
Kitty Barnett
Registered User
Join date: 10 May 2006
Posts: 5,586
02-19-2007 09:15
There's a hard limit of 6 lights that can be used at any given time (discounting the ones SL uses), so only the 6 closest to your camera will show. Most clubs seem to have 5 lights/m² so it's not suprising yours won't show :).
Kyrah Abattoir
cruelty delight
Join date: 4 Jun 2004
Posts: 2,786
02-19-2007 10:34
i totally hate when peoples use local lights on attachments, it can totally ruin the mood of a carefully lit place sometimes.
_____________________

tired of XStreetSL? try those!
apez http://tinyurl.com/yfm9d5b
metalife http://tinyurl.com/yzm3yvw
metaverse exchange http://tinyurl.com/yzh7j4a
slapt http://tinyurl.com/yfqah9u
Anna Gulaev
Registered User
Join date: 25 Oct 2006
Posts: 154
02-19-2007 10:43
From: Kyrah Abattoir
i totally hate when peoples use local lights on attachments, it can totally ruin the mood of a carefully lit place sometimes.


You'd have to get really really really close to my pendant to be affected by its light. If you got that close I would probably object :)

It might be the 6-light limit thing, but I had the camera zoomed on the pendant and it still didn't work.
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
02-19-2007 10:47
To expand on what Kitty said, the way it works is OpenGL allows up to eight light sources in a scene. SL always has two of those turned on globally. Those are the sun/moon, and the ambient light. That leaves six "local" lights available for us users at any given time.

The SL viewer is set up always to render the closest local lights to your avatar. That means whatever six are closest will appear to be turned on, and all the rest won't have any affect. You can observe this behavior pretty easily simply by putting a whole bunch of lights in a row, maybe in a hallway or something, and walking down the hall. You'll see that the lighting appears to follow you. As you proceed down the hall, the first light in the line will turn off just as the seventh one turns on. Number two will turn off as number eight turns on. Etc, etc, etc.

Now, since an attachment is always as close to you as you can get, it should always be on in theory. However, since as Kitty mentioned, club owners tend to go way overboard with lights, it's entirely possible that there are enough lit prims floating around that some of them may at times actually be "closer" than your attachment. If there's a phantom light, for example, and you're interpenetrating it, it's very likely could be considered closer.

More likely though, there's just too much light around for you to see the affect of yours. It's simply getting washed out. Light a candle next to a search light, and you'll have a hard time seeing the flame.
_____________________
.

Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
Gummi Richthofen
Fetish's Frasier Crane!
Join date: 3 Oct 2006
Posts: 605
02-20-2007 06:41
OOOOOOOOOOOOooooooooohhhhhhhhhhhhhh for the ability to set a parcel to "force midnight..."