kristiker / source1import

Import Source game content into Source 2
MIT License
68 stars 11 forks source link

Bug with converting sky texture #57

Open pzC6L4g opened 1 year ago

pzC6L4g commented 1 year ago

When converting sky textures, I get these messages:

Searching for .vmt files... missing sky face: materials\skybox\legacy_faces\docks_hdrbk.pfm missing sky face: materials\skybox\legacy_faces\docks_hdrdn.pfm missing sky face: materials\skybox\legacy_faces\docks_hdrft.pfm missing sky face: materials\skybox\legacy_faces\docks_hdrlf.pfm missing sky face: materials\skybox\legacy_faces\docks_hdrrt.pfm missing sky face: materials\skybox\legacy_faces\docks_hdrup.pfm missing sky face: materials\skybox\legacy_faces\docks_hdrbk.pfm missing sky face: materials\skybox\legacy_faces\docks_hdrdn.pfm missing sky face: materials\skybox\legacy_faces\docks_hdrft.pfm missing sky face: materials\skybox\legacy_faces\docks_hdrlf.pfm missing sky face: materials\skybox\legacy_faces\docks_hdrrt.pfm missing sky face: materials\skybox\legacy_faces\docks_hdrup.pfm missing sky face: materials\skybox\legacy_faces\docks_hdrbk.pfm missing sky face: materials\skybox\legacy_faces\docks_hdrdn.pfm missing sky face: materials\skybox\legacy_faces\docks_hdrft.pfm missing sky face: materials\skybox\legacy_faces\docks_hdrlf.pfm missing sky face: materials\skybox\legacy_faces\docks_hdrrt.pfm missing sky face: materials\skybox\legacy_faces\docks_hdrup.pfm ...... Collected face BK for sky_l4d_c4m4_hdr_cube.tga Collected face DN for sky_l4d_c4m4_hdr_cube.tga Collected face FT for sky_l4d_c4m4_hdr_cube.tga Collected face LF for sky_l4d_c4m4_hdr_cube.tga Collected face RT for sky_l4d_c4m4_hdr_cube.tga Collected face UP for sky_l4d_c4m4_hdr_cube.tga ...... missing sky face: materials\skybox\legacy_faces\urbannightburning_ldrbk.pfm missing sky face: materials\skybox\legacy_faces\urbannightburning_ldrdn.pfm missing sky face: materials\skybox\legacy_faces\urbannightburning_ldrft.pfm missing sky face: materials\skybox\legacy_faces\urbannightburning_ldrlf.pfm missing sky face: materials\skybox\legacy_faces\urbannightburning_ldrrt.pfm missing sky face: materials\skybox\legacy_faces\urbannightburning_ldrup.pfm missing sky face: materials\skybox\legacy_faces\urbannightburning_ldrbk.pfm missing sky face: materials\skybox\legacy_faces\urbannightburning_ldrdn.pfm missing sky face: materials\skybox\legacy_faces\urbannightburning_ldrft.pfm missing sky face: materials\skybox\legacy_faces\urbannightburning_ldrlf.pfm missing sky face: materials\skybox\legacy_faces\urbannightburning_ldrrt.pfm missing sky face: materials\skybox\legacy_faces\urbannightburning_ldrup.pfm missing sky face: materials\skybox\legacy_faces\urbannightstorm_ldrbk.pfm missing sky face: materials\skybox\legacy_faces\urbannightstorm_ldrdn.pfm missing sky face: materials\skybox\legacy_faces\urbannightstorm_ldrft.pfm missing sky face: materials\skybox\legacy_faces\urbannightstorm_ldrlf.pfm missing sky face: materials\skybox\legacy_faces\urbannightstorm_ldrrt.pfm missing sky face: materials\skybox\legacy_faces\urbannightstorm_ldrup.pfm missing sky face: materials\skybox\legacy_faces\urbannightstorm_ldrbk.pfm missing sky face: materials\skybox\legacy_faces\urbannightstorm_ldrdn.pfm missing sky face: materials\skybox\legacy_faces\urbannightstorm_ldrft.pfm missing sky face: materials\skybox\legacy_faces\urbannightstorm_ldrlf.pfm missing sky face: materials\skybox\legacy_faces\urbannightstorm_ldrrt.pfm missing sky face: materials\skybox\legacy_faces\urbannightstorm_ldrup.pfm

By the way, these sky textures are from L4D2's HD Sky Textures mod.

kristiker commented 1 year ago

L4D2's HD Sky Textures mod

Link to this mod? Thinking its bad parameters in the vmt, maybe you can edit it, or if you can find those sky faces move them to legacy_faces folder manually.

pzC6L4g commented 1 year ago

L4D2's HD Sky Textures mod

Link to this mod? Thinking its bad parameters in the vmt, maybe you can edit it, or if you can find those sky faces move them to legacy_faces folder manually.

https://steamcommunity.com/sharedfiles/filedetails/?id=121090376 This mod's name is "Informal Skyboxes". I've tried everything you said, and it doesn't work.

kristiker commented 1 year ago

Yeah its bad parameters. I don't know how the engine figures it out to draw them correctly. You can fix by changing $hdrbasetexture to $basetexture in the materials, or $hdrcompressedtexture if it looks bad.

pzC6L4g commented 1 year ago

Yeah its bad parameters. I don't know how the engine figures it out to draw them correctly. You can fix by changing $hdrbasetexture to $basetexture in the materials, or $hdrcompressedtexture if it looks bad.

Wow, it's worked after change $hdrbasetexture to $basetexture.