Talk:Env cubemap

From Valve Developer Community
Jump to navigation Jump to search

TY to the guy who finished up the entity options for me. was about 4AM in the morning so i figured i needed to go to sleep.

Default

says 0 - default what is the default value?

I think at the moment every game defaults to 128x128. --TomEdwards 01:31, 5 Jan 2007 (PST)

BSP Size Variation

I tried to compile and buildcubemap (in both LDR and HDR) a map with 11 cubemaps configured with the different sizes above the default one, and here are the results so far (the bsp size is 2.4 MB by default) :

  • 64x64 (means 256x256) - BSP: 5.3 MB (0.26 MB per cubemap)
  • 128x128 (means 512x512) - BSP: 15.2 MB (1.16 MB per cubemap)
  • 256x256 (means 1024x1024) - BSP: 58.6 MB (5.11 MB per cubemap)

It almost follows the "double the size, quadruple the weight" rule. The 1024x1024 is really beautiful, but multiplying the weight by 23 is a bit exaggerated for good reflections.

Each cubemap texture contains six different images. Use a zip application to look inside the BSP files. --TomEdwards 12:44, 21 Sep 2008 (PDT)
Yes, I know that. But doubling the resolution of the cubemap is supposed to quadrule its weight. And that's not really the case, it's a bit more greedy. I made this test to try to estimate the size of a BSP without having to compile it each time in full quality with each different resolution of cubemaps. --NykO18 05:06, 22 Sep 2008 (PDT)
Thanks for that test mate, saved me a hell of alot of time :D.
EDIT: Oh and the size depends on the amount of color information in the screenshot taken, just like pressing F5 --Jenkins08 01:39, 28 Oct 2008 (PDT)

HDR cubemaps created even though map doesn't use HDR?

I noticed my map generated HDR cubemaps even though the map is not using HDR. Can I remove those with pakrat, or will that mess anything up? --Pandaboy 02:09, 6 December 2011 (PST)