Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/archive/global.php(40) : eval()'d code on line 2
Displacement Performance Hit [Archive] - TF2Maps.net Forums

PDA

View Full Version : Displacement Performance Hit


phatal
02-08-2008, 03:11 PM
I'm going to surround my level with mostly cliffs and was curious how big of a performance hit a displacement creates. Would it be more like a world brush or more like a func_detail? Also, would making the brushes I create in to a displacement would be easier on performance if starting with a func_detail?

Fyfey
02-08-2008, 05:01 PM
If you make a displacement a func_detail, it will give an error on compile I think. I'm pretty sure they're good on resources, more like a func_detail than a world brush.

Youme
02-08-2008, 05:54 PM
Displacements CANNOT be tied to entities, it stops the map compiling completely
Displacements cause very little performance issues, you can have bazillions of them before it will have any noticeable effect. All displacements do is bump up filesize and compile time (to a lesser extent)
Just look at the episode 2 maps, especially the caves, probably 95% displacement and do they lag? no.

dirtyminuth
02-08-2008, 06:11 PM
I have ~750 displacements in core, and have not suffered through any performance issues. Go hog wild!

phatal
02-09-2008, 10:40 AM
Thanks guys. Exactly what I wanted to hear! :D

Wiebbe
02-09-2008, 01:06 PM
displacement are just like func_details, they dont stop Leaks/Vis or Light. So you can use them as you like. (as been said above :P)