Closed arenaceous closed 5 years ago
Related links: https://github.com/ValveSoftware/source-sdk-2013/issues/40 - cubemaps not working https://github.com/ValveSoftware/source-sdk-2013/issues/403 - [HLDMS] Default env_cubemaps
On Valve wiki ( https://developer.valvesoftware.com/wiki/Cubemaps ), we have this comment:
Note: If the map bsp file is renamed after the cubemaps have been built the cubemaps will no longer work and default to the sky cubemap. You must rebuild cubemaps again each time a map is renamed. However, the no-longer-working cubemaps are not removed, so this can lead to bloated files. If you plan to release a map so that others can download it, it is best to try to avoid any map-renaming after you compile it, to avoid problems.
This might help while the map is being created, as a workaround.
I removed Cubemap_CreateDefaultCubemaps()
function call from VBSP. Please, let me know if this works :)
SourceSDK2013-bin-VBSP-fix-01.zip
If everything works, it might be easy to add a line parameter for this 😉
Can't build cubemaps in game, or at least it crashes when it has finished building cubemaps.