Func viscluster: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Asked around to find out what this (ep2?) entity does so someone who has time to look more into it.)
 
No edit summary
Line 1: Line 1:
Purpose: optimisation
{{wrongtitle|title=func_viscluster}}
This entity prevents any vvis leaves from forming in that area
 
A brush entity that merges any [[visleaf|visleaves]] within it, developed for Episode Two's outdoor areas. It is a compile-time entity that is not accessible by the run-time engine.
 
Place it in large, empty areas with long lines of sight to reduce compile times and BSP filesize, but take care to avoid the entire area rendering when just a small corner of the viscluster is visible. Use [[func_areaportal]] to control visibility in these situations.
 
One place where a viscluster can be safely used at all times is in open stretches of sky.
 
[[Category:Optimization]]
[[Category:Visibility]]

Revision as of 04:16, 25 January 2008

Template:Wrongtitle

A brush entity that merges any visleaves within it, developed for Episode Two's outdoor areas. It is a compile-time entity that is not accessible by the run-time engine.

Place it in large, empty areas with long lines of sight to reduce compile times and BSP filesize, but take care to avoid the entire area rendering when just a small corner of the viscluster is visible. Use func_areaportal to control visibility in these situations.

One place where a viscluster can be safely used at all times is in open stretches of sky.