Hi List, I'm trying to create a simple stealth effect on the player by setting the render mode to kRenderTransTexture and then setting the render colour with a low alpha value:
m_nRenderMode = kRenderTransTexture; SetRenderColor( 255, 255, 255, m_flCurrentAlpha ); This is called in void CHL2MP_Player::PreThink( void ) (server side) and works fine on the player model, but I'm having problems trying to fade out the players weapon view model: GetViewModel()->SetRenderMode( kRenderTransTexture ); GetViewModel()->SetRenderColor( 255, 255, 255, 80 ); This is called in void C_HL2MP_Player::PreThink( void ) (client side) and whilst it does half work, it leads to a flickering effect where the weapon model seems to flicker between solid and opaque. Any ideas why this would be happening and what I should do to fix it? Cheers, Rich _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

