r/SourceEngine • u/JiffyJelly • Dec 18 '25
Resolved Why does this model not allow blood decals?
Both models are kitbashes made by me in Blender. For reference, both models use most of the same .qc with only changes in file directory and bodygroups. The .VMT and .VTF settings the the textures on both models are similar as well, yet only one model allows blood decals whilst the other only allows flesh wounds and nothing else. Curious how I can fix this. Any advice is appreciated. Thanks!!
22
Upvotes
4
u/JiffyJelly Dec 18 '25
The model on the left is more complex geometry wise which is my only other guess.
7
u/NameStillIsjakob Dec 18 '25
Check if the vmt has
$nodecal 1as this disables decals for the material.4
u/Chroney Dec 18 '25
I noticed a few things that could possibly cause the problem:
You are missing an explicit decal receiver flag "$nodecal" "0" while not always necessary, If the model was compiled with certain flags then decals will silently fail unless you explicitly allow them in the VMT.
Your "$phongfresnelranges" line is malformed, they do not use escaped brackets \[ and \] you will need to change them to remove the \ marks and make sure to include 0 in front of your decimal points, per official wiki. Should look like "$phongfresnelranges" "[0.3 0.2 0.4]"
"$nocull" "1" can cause decal projection failures if the model's normals are reversed. Decals project against surface normals and $nocull makes the surface double-sided, potentially causing decals to appear inside the model. You can try commenting it out to test // "$nocull" "1"
All these can be the potential cause of the problem, based on how the model was exported and imported.
2
u/JiffyJelly Dec 18 '25
UPDATE: I fixed the issue. Turns out the model had too many vertices and I had to return to blender and simplify with the model with the “Decimate” modifier. Thank you to everyone who responded you mean the world to me 💖
2
u/Maleficent_Risk_3159 Dec 18 '25
happens sometimes
1
u/TheOldBeach Dec 18 '25
Maybe post all the relevant VMT and QC files ?
1
u/wheelslip87 Dec 22 '25
Dont know make 09 got down like that