Need Help

Avatar
GHoST61
27 Posts
Posted Feb 27, 2014
Hello, trying to fix my problem . Hope you guys will help.

So when i launch my map with console from portal 2/portal2/maps folder everythign is fine,

but when i launch the exact same map from my workshop, i get this white reflection models.

Couldn't get HDR 'maps\the_shard_v1/c256_2416_-512.hdr' -- Trying non HDR 'maps\the_shard_v1/c256_2416_-512'
Failed, using default cubemap 'engine/defaultcubemap'
Couldn't get HDR 'maps\the_shard_v1/c1952_320_-448.hdr' -- Trying non HDR 'maps\the_shard_v1/c1952_320_-448'
Failed, using default cubemap 'engine/defaultcubemap'
etcetc

Any ideas ?

Advertisement
Registered users don't see ads! Register now!
Avatar
josepezdj
2,386 Posts
Posted Feb 27, 2014
Replied 34 minutes later
  1. Have you build cubemaps (for both LDR and HDR)?

  2. Have you renamed the map after building them?

  3. What map have you uploaded to the workshop? I mean from what folder?

Avatar
GHoST61
27 Posts
Posted Feb 27, 2014
Replied 8 minutes later

josepezdj wrote:
1. Have you build cubemaps (for both LDR and HDR)?

  1. Have you renamed the map after building them?

  2. What map have you uploaded to the workshop? I mean from what folder?

I build cubemaps HDR, i uploaded the map from a non portal related folder and i did not rename the file.

Avatar
josepezdj
2,386 Posts
Posted Feb 27, 2014
Replied 15 minutes later
I don't know that error since it never happened to me, but due to it's related to missing cubemaps, I'd suggest you to do this:

  1. After a FULL compile (HDR and LDR), put a copy of your map under portal2_dl2/maps

  2. Load it into Portal2, open your console and enter each of these lines waiting the corresponding time each task needs:

buildcubemaps
mat_hdr_0
buildcubemaps
mat_hdr_2
restart

  1. Use the map you put in portal2_dlc2/maps to upload it to the workshop. This one is the copy that has the cubempas inside. DO NOT RENAME IT

Confirm if this worked.

Avatar
CamBen
973 Posts
Posted Feb 27, 2014
Replied 29 minutes later

josepezdj wrote:
I don't know that error since it never happened to me, but due to it's related to missing cubemaps, I'd suggest you to do this:

  1. After a FULL compile (HDR and LDR), put a copy of your map under portal2_dl2/maps

  2. Load it into Portal2, open your console and enter each of these lines waiting the corresponding time each task needs:

buildcubemaps
mat_hdr_0
buildcubemaps
mat_hdr_2
restart

  1. Use the map you put in portal2_dlc2/maps to upload it to the workshop. This one is the copy that has the cubempas inside. DO NOT RENAME IT

Confirm if this worked.

instead of copying it, you could just set your default bsp location to dlc2

Avatar
josepezdj
2,386 Posts
Posted Feb 27, 2014
Replied 1 minutes later

CamBen wrote:
instead of copying it, you could just set your default bsp location to dlc2

I do have it that way for loooong time :p Just was quickly advising about what to do in order to help him to solve the problem

Avatar
GHoST61
27 Posts
Posted Feb 27, 2014
Replied 20 minutes later
Thank you this worked, will update the TWP post.
Avatar
josepezdj
2,386 Posts
Posted Feb 27, 2014
Replied 2 minutes later
I'm glad to know (I want to check your work SO much )
Avatar
Konke
161 Posts
Posted Apr 17, 2014
Replied 1 month later
I'm also struggling with cubemaps and HDR. How do I set my .bsp location to dlc 2?
Avatar
TeamSpen210
608 Posts
Posted Apr 17, 2014
Replied 7 hours later
Hammer options, in the "build programs" tab.
Advertisement
Registered users don't see ads! Register now!
Avatar
Konke
161 Posts
Posted Apr 17, 2014
Replied 1 hour later

TeamSpen210 wrote:
Hammer options, in the "build programs" tab.

Ah, "Place compiled maps in this directory before running the game". Got it!