Drawing a pair of nerd glasses on a player in PostPlayerDraw, pretty standard stuff. The player has a [URL="http://wiki.garrysmod.com/page/Entity/SetSubMaterial"]SetSubMaterial[/URL] set on her (for her clothes). That submaterial override is getting automatically applied to the rendered model as well, and I can't prevent it, not with SetMaterial, not with SetSubMaterial, only with render.ModelMaterialOverride. But if the model has multiple materials (like these glasses), then you either override everything or you're screwed.
[IMG]http://i.imgur.com/8vhnpf9.jpg[/IMG]
You can see part of the girl's face or hand-map on the glasses' left rim.
Why, Garry, why.
[editline]21st August 2015[/editline]
Nevermind..... something was odd. Maybe it only happens sometimes.
Sorry, you need to Log In to post a reply to this thread.