ModDota / BugTracker

Listing bugs for Dota 2 Custom Games
9 stars 1 forks source link

SetRenderAlpha() doesn't make an entity transparent. #110

Open robincodex opened 7 years ago

robincodex commented 7 years ago
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.

DoctorGester commented 7 years ago

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.