Brood of Evil Posted April 12, 2006 Share Posted April 12, 2006 I'm having a problem with a shader for my saber hilt models. I'm using an enviroment setting, however it's looking weird, as if the enviroment map is scrolling all across the model. I did an experiment, I modified the weapons.shader to add an enviroment setting to their shaders, and they look neat. It seems the problem is with my model, I've been trying to play with the UVW mapping to no avail, still looks the same. I've seen a lot of custom saber hilt models with an enviroment shader settings and they all look great, so I wonder what am I doing wrong. This is the shader I'm using: models\weapons2\saber_testing\saber { { map models\weapons2\saber_testing\saber blendFunc GL_ONE GL_ZERO rgbGen lightingDiffuse } { map models\weapons2\saber_testing\saber_spec blendFunc GL_SRC_ALPHA GL_ONE detail alphaGen lightingSpecular } { map gfx\effects\chr_inv blendFunc GL_DST_COLOR GL_SRC_COLOR tcGen environment } } I know it might be hard to understand the problem without actually trying it in-game, however, I might be able to send a zip with my files, so if anyone is interested in helping I could send it, just pm with email or something. Anyway I hope someone can help, this is driving me cwazy. Thanks. Link to comment Share on other sites More sharing options...
razorace Posted April 21, 2006 Share Posted April 21, 2006 How is your shader compared to the basejka saber shaders? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.