Playermodel Vertex Lit Shadows Not Appearing In Custom Gamemode!

I have a playermodel that I really like but in my custom gamemode setting the colors removes its shadows, while in sandbox it looks fine. What is happening???

Screenies:

How are you setting its color?

ply:SetPlayerColor( Vector( 255, 0, 0, 255 ) )

Isn’t the vector supposed to be between 0 and 1? Also, vectors are 3d, not 4d
Try this:



ply:SetPlayerColor( Vector( 1, 0, 0 ) )


Or instead


local r, g, b = 255, 0, 0
ply:SetPlayerColor(Vector(r / 255, g / 255, b / 255))


thx m8