Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

[Hammer MP] Building cubemaps WORKAROUND breaks final compile settings and dissallows all means of using cubemaps AT ALL

Open JorisCeoen opened this issue 13 years ago • 4 comments

Ok so I've been struggling with this for a long time, and I see there are many, many, MANY problems related to cubemaps. Thank god there IS a workaround, but I recently found another issue with this!

http://www.facepunch.com/showthread.php?t=1293081

Facepunch provides the following procedure to fix cubemaps:

  • Compile map
  • Open in external packing program, remove 'Texture' files.
  • Save again
  • Build cubemaps
  • It 'worked'

Now the problem lies within removing the 'Texture' files and resaving it. I found out that when resaving the bsp, even if it's under another name and not copied over the older file, it BREAKS the FINAL COMPILE SETTINGS. Can you believe that?

I have had my cathedral (http://gamebanana.com/projects/34608) being compiled no problem and with extremely nice visual settings, except that there are no speculars at all, and I can't add them or all my models become uniformly lit without any vertex lighting at all.

This, as you may have understood, removes all means of using speculars on a final version of a map... The ONLY way I could see around it, is using custom cubemaps and implementing them in the vmt's as envmaps... THIS ALSO DOESN'T WORK IN HDR, as custom environment maps are FULLY LIT and there's NO way around it...

Please, I pledge Valve to fix this, once and for all. How can it be so difficult to just restore something that in my eyes has to do with directories (correct me if I'm wrong).

I will not resort to using LDR with envmaps which also does not allow for reflections on weapons either way as it will kill my bsp's final compile settings anyways with the current, unefficient method. I know many people compile with normal settings which I believe is unprofessional and ugly (unless it being intentionally the goal of the maps' visuals).

Anyways, shortly said, I believe Reflections are a great addon to the maps' visuals, and it's important as it cheaply adds fancy dynamic element to the environment, which now seem completely out of function due to the above reasons. I'm surprised no one yet posted this (I don't mean the cubemap problem, I mean the dissappearance of the final compile settings such as vertex lighting), perhaps I'm the only one with the problem??

Please, if someone knows why this happens, help me, I would really, really appreciate it, or else please provide a fix, it will help so many of us.

SYSTEM INFO:

  • Windows 7 Premium
  • CPU (Processor) - Intel Quad Core i7 860 @ 2.80GHz
  • GPU (Graphics Card) - ATI Radeon HD 5870 (1Gig)
  • Memory - 8 Gigabite (4x2gig)
  • Soundcard: ASUS Xonar D2
  • Monitor - SyncMaster B2230 (Full HD / 70000:1 Dynamic Contrast / (1920x1080)

JorisCeoen avatar Sep 23 '13 16:09 JorisCeoen

I hope anybody EVER comes to fix at least some of these issues, that are piling up. When was the last time they commited a fix?

Gambini007 avatar Sep 24 '13 02:09 Gambini007

You can scrap one of the issues, being the super-bright custom envmap (custom cubemap texture). It becomes superbright because I used a non-HDR format for it, but using a HDR integer format file (such as RGBA16161616F) made it work perfectly.

THIS FIXES MY PROBLEM PARTIALLY.

I have found ANOTHER temporarly fix, by someone who provided a fixed VBSP which does NOT compile pre-built textures. The fix can be found here: http://steamcommunity.com/app/211/discussions/0/846959998155287479/?l=dutch

These combinations made it for me possible to avoid editting with Pakrat and build and use custom envmaps on both HDR and LDR. It took me a total of 8 houres to find all of this shit, while the answers were really just there on the internet.

The only thing I crave for is not having to use a custom VBSP. While nothing is wrong with it, the custom VBSP does not update along with Valve updates if it ever would, so I would feel safer to use the actual VBSP xD

Though, in all seriousness, I'm happy I could resolve the issue myself, albeit after 8 houres of wasted time for something that should not have happened :-/ Don't get me wrong, the SDK is wonderful and I have no right to complain, but it's just enervating to spend so much time fixing things instead of progressing by things that previously worked without a problem.

Also, for those who wondered if the final compile settings would break or not while packing content (essentially also editting the BSP) it does NOT. Packing content after having built all of the cubemaps does not break the final compile settings. It only appears to do so while removing the pre-built custom cubemaps. That's why that fix on the link above there is THE solution to this problem.

JorisCeoen avatar Sep 24 '13 07:09 JorisCeoen

Hello @JorisCeoen, is this issue still occurring?

kisak-valve avatar Dec 23 '16 17:12 kisak-valve

Closing pending feedback.

kisak-valve avatar Jan 31 '17 14:01 kisak-valve