![]() ![]() Here are a few simple heuristics to follow: The optimal placement of env_cubemap entities corresponds with each of these uses, to ensure the maximal benefit, visually and in performance. And the rest are used for any non-player reflective entities. ![]() Others are used with player entities, including NPCs. Some cubemaps are used for reflections on static world geometry. ![]() It is important to choose env_cubemap positions properly for both aesthetic and performance issues.Ĭubemaps are used in a few specific ways, and should be placed accordingly. Entities associate themselves with the env_cubemap closest to their origin (alternatively, a cubemap can be applied to specific brush faces in the cubemap's properties) moving entities will dynamically change which cubemap they use. When the map is compiled with VBSP, world geometry surfaces automatically associate themselves with the nearest env_cubemap and will use the cubemap generated from it. Placementĭeclaring areas for cubemaps to cover is simple, just place an env_cubemap point entity inside the space of a map. So use sparingly for things like mirrors and marble surfaces, if you're concerned about file size / client download time for multiplayer maps at least. Note: Having high resolution cubemaps can significantly increase the map file size.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |