x


Does a large number of layers affect performance?

Hi! i need to use layerculldistances for better performance so i need to create some extra layers. Right now there are not many models in the scene but when i add more into their respective layers then will it cause any frame rate drop due to objects being rendered in lot of different layers?

Thanks for reading!

more ▼

asked Feb 17 '12 at 06:10 PM

vatsalAtFEI gravatar image

vatsalAtFEI
734 13 18 25

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

1 answer: sort voted first

@NOAA_Julien - Your link doesn't work.

I personally don't think they do. I've been working with games that have over 100 layers, and nothing is affected, its merely a way to reference things, so I don't see how it would effect performance.

Hope that helps

more ▼

answered Feb 17 '12 at 06:34 PM

oliver-jones gravatar image

oliver-jones
2.5k 205 225 254

Oliver - the duplicate must have been deleted. Removing that comment.

I agree that they probably have no affect. All the code that uses layers does the check for layers regardless of whether you have 1 or 100, so there's no extra overhead for it to check and see that layer=1 vs layer=16.

Feb 17 '12 at 07:12 PM Julien.Lynge
(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:

x662
x150

asked: Feb 17 '12 at 06:10 PM

Seen: 594 times

Last Updated: Feb 17 '12 at 07:12 PM