Weird glass bugs
Posted Aug 13, 2014
When I compile my maps on my PC, it runs perfectly fine. Once I upload the exact same map file to the workshop, it bugs out the glass. Here are examples:


I'm not sure if everyone else who gets it from workshop has the same thing, but it is quite annoying. I heard it has something to do with cubemaps, but not sure. Any ideas?
Registered users don’t see ads!
Register now!
Posted Aug 13, 2014
Replied
44 minutes
later
Did you rename the map at any point? (This causes exactly what your screenshots show.) For building cubemaps, ensure your map is saved in dlc2 (prevents a Portal 2 crash bug) - check the last tab in hammer options. Then you can run "mat_specular 0" in the console to turn off reflectivity, "buildcubemaps" to actually generate them, then "mat_specular 1" to reenable reflections if the map reload didn't reset that for you.
Posted Aug 13, 2014
Replied
27 minutes
later
TeamSpen210 wrote:
Did you rename the map at any point? (This causes exactly what your screenshots show.) For building cubemaps, ensure your map is saved in dlc2 (prevents a Portal 2 crash bug) - check the last tab in hammer options. Then you can run "mat_specular 0" in the console to turn off reflectivity, "buildcubemaps" to actually generate them, then "mat_specular 1" to reenable reflections if the map reload didn't reset that for you.
Yes, yes I did rename it. Will try the cubemaps thing you described. Much obliged!
Posted Aug 13, 2014
Replied
2 hours
later
If you rename your map after building cubemaps, strange things happen. So just remember to recompile every time you rename it.
Registered users don’t see ads!
Register now!
Posted Aug 13, 2014
Replied
2 hours
later
This constantly happens to me as well. I build cubemaps and it looks great, and then I upload it and everyone complains about missing cubemaps.