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

[EP2] All faces (minus the top one) in Skybox sky_day01_09 show as purple checkboard.

Open Gambini007 opened this issue 13 years ago • 13 comments

Link to example screenshot: http://steamcommunity.com/sharedfiles/filedetails/?id=150566937

Also, the console reads this (which is very likely related):

Initializing renderer... Requesting texture value from var "$hdrbasetexture" which is not a texture value (material: skybox/sky_day01_09rt) Requesting texture value from var "$hdrbasetexture" which is not a texture value (material: skybox/sky_day01_09rt) Requesting texture value from var "$hdrbasetexture" which is not a texture value (material: skybox/sky_day01_09rt) Requesting texture value from var "$hdrbasetexture" which is not a texture value (material: skybox/sky_day01_09rt) Requesting texture value from var "$hdrbasetexture" which is not a texture value (material: skybox/sky_day01_09rt) Requesting texture value from var "$hdrbasetexture" which is not a texture value (material: skybox/sky_day01_09rt) Requesting texture value from var "$hdrbasetexture" which is not a texture value (material: skybox/sky_day01_09rt) Requesting texture value from var "$hdrbasetexture" which is not a texture value (material: skybox/sky_day01_09rt) Requesting texture value from var "$hdrbasetexture" which is not a texture value (material: skybox/sky_day01_09bk) Requesting texture value from var "$hdrbasetexture" which is not a texture value (material: skybox/sky_day01_09bk)

Gambini007 avatar Jun 04 '13 23:06 Gambini007

Similar to https://github.com/ValveSoftware/Source-1-Games/issues/807 Skybox must be sky_day01_09_hdr

Sergeanur avatar Jun 05 '13 04:06 Sergeanur

Is it possible you need to validate your game cache? Also please post your system information as per the instructions.

JenniferPylko avatar Jun 05 '13 15:06 JenniferPylko

Game cache should be validated as this began to happen right when the performance issue got fixed.

"Skybox must be sky_day01_09_hdr"

But it worked before the update. The map in question hasn´t been modified.

My system specs are:

Pentium Dual CPU E2200 @ 2.20Ghz 3,00 GB Ram Windows XP Professional SP3 Nvidia GFORCE 9600 GT 512mb (driver version: 6.14.0013.042) DirectX 9.0c Screen: 1920x1080 32bits 60hz

And I´m running with all settings maxed out.

Gambini007 avatar Jun 05 '13 22:06 Gambini007

What map is this in? Can you type "status" in the console when you see it please.

alfred-valve avatar Jun 05 '13 22:06 alfred-valve

It´s a custom map of my project, is not released. But the skybox is hl2 stock material.

This is what the console reads when I type status:

hostname: Half-Life 2 version : 1745010/24 5317 insecure map : trainyard_SHORT1 at: 940 x, -993 y, 54 z -numerical character- userid name uniqueid connected ping loss state adr players : 1 (1 max)

-numerical character- 2 "Gambini" STEAM_0:0:0 00:25 32 0 active loopback

edit: removed numerical characters as they made text huge.

Gambini007 avatar Jun 05 '13 23:06 Gambini007

Can you reproduce this in a shipped map? Perhaps your custom map is including the skymap incorrectly, or the shipped skymap isn't configured properly for the current engine (and is unused in current maps)?

alfred-valve avatar Jun 05 '13 23:06 alfred-valve

According to this: https://developer.valvesoftware.com/wiki/Sky_List the skybox is used in d1_eli_02, d1_town_01 and d1_town_03. Three maps which I believe are from Half life 2 (not ep2). I can, still, load them and the sky looks fine on them. However, in my map, it used to work even after switching to the steampipe version of the game. It wasn´t until one of the many updates (particulary one that restored performance) that this began to happen. The map hasn´t been altered since then and I can´t access to edit it due to Source SDK not loading. Opening the vmf file with notepad reveals that the map is indeed using sky_day01_09.

You can see here a screenshot of before switching to steampipe: http://steamcommunity.com/sharedfiles/filedetails/?id=105886819

Gambini007 avatar Jun 06 '13 00:06 Gambini007

Okay, you will need to recompile your map to use the hdr skybox or remove the env_tonemap_controller entity. I'll get the SDK tools added to the hl2 distribution (as we have for Tf2 and the like) so you can fix it up.

alfred-valve avatar Jun 10 '13 21:06 alfred-valve

Seems fair enough. But let´s hope there aren´t other released mods out there suffering of a similar problem. You know, if the developer isnt active anymore, they´ll be broken forever.

Care to explain me please how´s that hl2 distribution? Will my source sdk update automatically or I have to get the fix somewhere?

Thanks for your commitment.

Gambini007 avatar Jun 10 '13 22:06 Gambini007

Half-Life 2 will automatically update with hammer (and the other SDK tools) so you can run them directly from the game folder. You should no longer use the Source SDK app.

alfred-valve avatar Jun 10 '13 22:06 alfred-valve

Crossposted information, apologizes by duplicating the issue.

Removing the env_tonemap_controller doesn´t fix the issue.

I´ve been investigating and I think I found the problem. The vmt files that load the sky subject of matter were included in source materials.cfg and not source materials 2007.cfg. Is it possible that those files were deprecated and hence not included in the new vpk files? It all seems so because If I manually add those files to my custom folder, the sky is fixed. Although now there´s a fog mismatch as you can see here: http://cloud-2.steampowered.com/ugc/612769729504360807/B3F8CE26DA4CFBF5A0F56313704C0AD3C4C057A5/

Is there any unsolved issue with the fog or it´s something with the sky?

Gambini007 avatar Jun 21 '13 17:06 Gambini007

Hello @Gambini007, are you still experiencing this issue?

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

Closing pending feedback.

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