v_model Refract problem


BERSERK3R
09-23-2007, 06:52 AM
I have added a custom model to a weapon and gave it a refract shader.
For some reason there is no refraction.
It does not refract the world behind it in "realtime", but instead it seems to have the world in the object itself.

And the strange thing is that when I use refractshader for the hands, the hands to refract like it should so the world is refracting in "realtime".

But why doesn't the added model to the weapon.

I think it has got something to do with "preloading" and calculating the shaders.
For the hands.vmt is "default" (although it uses a custom refract shader) it seems to load it correctly but the shader for custom model does not.

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.