Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Postcompiler] Not packing all textures that exists in the .vmt files #268

Open
nikita488 opened this issue Jun 8, 2024 · 0 comments
Open
Labels

Comments

@nikita488
Copy link

nikita488 commented Jun 8, 2024

It seems that postcompiler tries to find and pack textures from the root level of .vmt file ignoring section for other shaders. In this case only textures that was found in "LightMappedGeneric" section was found and packed, detail_concrete_01, concrete_modular_wall001a_height-ssbump and concrete_modular_wall001a_normal was not packed because they are in the separate shader sections.

"LightMappedGeneric"
{
	"$basetexture"	"concrete/concrete_bts_modular_wall001a"
	"$surfaceprop" "concrete"
	"%keywords" "portal"

	"LightmappedGeneric_HDR_DX9"
	{
		"$bumpmap" "concrete/concrete_modular_wall001a_height-ssbump"
		"$ssbump" "1"

        	"$detail" "detail\detail_concrete_01"
		"$detailscale" "4.25"
		"$detailblendfactor" .35
		"$detailblendmode" 0
	}

	"LightmappedGeneric_DX9"
	{
		"$bumpmap" "concrete/concrete_modular_wall001a_height-ssbump"
		"$ssbump" "1"

        	"$detail" "detail\detail_concrete_01"
		"$detailscale" "4.25"
		"$detailblendfactor" .35
		"$detailblendmode" 0
	}

	"LightmappedGeneric_DX8"
	{
		"$bumpmap" "concrete/concrete_modular_wall001a_normal"
		"$nodiffusebumplighting" 1
	}

	"LightmappedGeneric_NoBump_DX8"
	{
		"$basetexture" "Concrete/concrete_bts_modular_wall001a"
		"$basealphaenvmapmask" 1
	}
}
@TeamSpen210 TeamSpen210 added the bug label Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants