Model Shading Dark when looking in specific directions

Hi there.

I’m currently making my own C_arms, but i am having some really weird lighting issues with it.

When i look in certain directions, the arm gets suddenly dark, but when i look in a different one it looks fine.

Here is what i mean:

This is my VMT:



"VertexLitGeneric"
{
	"$basetexture" "player/buuarms"

	"$phong" "1"
	"$phongboost" "1.0"
	"$phongexponent" "8"
	"$phongfresnelranges"	"[.1 .5 1]"
	
	"$phongtint" "[0.8 0.6 0.4]"
	
	"$rimlight" "1"
	"$rimlightboost" "0.2"
	"$rimlightexponent" "4"
}


Anyone got any ideas?

the origin/rootbone of the model is probably way too low, try using $illumposition to move it upwards. Also, that’s not your .qc, that’s your .vmt :v:

Fixed that typo, and im trying that out.

[editline]3rd December 2013[/editline]

Hmm, I’ve increased the Z coordinate by over 60 but still no luck. The weird part is that i’m using the same QC and same Bones as the original c_models hands. Does it make a difference?

[editline]3rd December 2013[/editline]

This is going to sound ridiculous, but i removed the $illumposition line completely and now the model’s shading works perfectly :v:

Thanks guys ^^