Hello, I'm trying to use the cloaking shader to make a player semi-invisible in my multiplayer mod, but when I add the EF_NOSHADOW effect to the player (while toggling the cloaked texture with m_nSkin), I still see the player's shadow when I view it from thirdperson mode. I also tried returning FALSE/NONE in clientleadsystem.cpp: ShouldRenderableReceiveShadow() and c_hl2mp_player.cpp: ShouldReceiveProjectedTextures(), but also had no luck. In addition, I tried some QC commands like $doesnotcastshadow, and $shadowlod, but couldn't get the desired result using those techniques either.
Any ideas? I heard that Garry's Mod has a Lua binding like SetColor(r,g,b,a) that does the trick, but I can't find a functional equivalent in the SDK. (SetColor/A doesn't appear to affect non-sprites) On a side note, I heard that GM's SetColor can actually apply a tint to entities... Any ideas how that works? Thanks, Eric _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders