I need to stop shadows from specific entities from rendering. Is this possible?
[lua]alyx = ents.Create(“npc_alyx”)
alyx:Spawn()
alyx:DrawShadow( false )[/lua]
[lua]
for k,v in ipairs( ents.FindByClass(“specific_entities”) do
v:DrawShadow( false )
end[/lua]
:eng101:
Entity.DrawShadow
If the specifc entity in question is a player you might have to change it’s alpha for it to work.
I love you.