ModDota/BugTracker

SetRenderAlpha() doesn't make an entity transparent.

Opened this issue · 1 comments

local hero = PlayerResource:GetPlayer(0):GetAssignedHero()
hero:SetRenderMode(0)
hero:SetRenderAlpha(40)

I according to the Render_Mode wiki, but there is no rendering effect.

Can confirm. I think I tried it on various materials/entities when it just got added but it never worked for me anywhere. Tried on heroes, units and prop_dynamic with different models. No visible effect on any of them.