x


alot of Point Lights

How do I put alot of point lights into my seen without the game lagging? I do not use shadows, just unity free.

more ▼

asked Jun 27 '10 at 09:44 AM

Fishman92 gravatar image

Fishman92
2.4k 101 113 128

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

Wait for Unity 3.0, which has deferred rendering.

more ▼

answered Jun 27 '10 at 09:47 AM

Eric5h5 gravatar image

Eric5h5
80.3k 42 132 521

Ah thought i might have to, does that mean i can put loads of lights in a scene and still get smooth playback?

Jun 27 '10 at 11:54 AM Fishman92

Yes - Performance is based on how many pixels the light touches in deferred rendering, so as long as you don't have too many lights in the same place, you'll be fine

Jun 27 '10 at 02:56 PM Mike 3
(comments are locked)
10|3000 characters needed characters left

Well you could work out yourself when they need to turn on and off by code. Depending on your level design you could create zones that Enable/Disable lights that are out of sight.

more ▼

answered Jun 27 '10 at 01:26 PM

MrMetwurst gravatar image

MrMetwurst
1

Unity does that anyway when you go over the pixel light limit set in quality settings

Jun 27 '10 at 02:55 PM Mike 3

nahhh, that doesn't work, i think a script would be better

Jun 27 '10 at 06:09 PM Fishman92
(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:

x8

asked: Jun 27 '10 at 09:44 AM

Seen: 1289 times

Last Updated: Jun 27 '10 at 09:44 AM