Delta_135 Posted May 5, 2013 Posted May 5, 2013 after following l i have finally managed to make a custom lightsaber hilt and get in gamebut whenever i try to apply a shader to it the shader doesn't show up no matter what i doi did try to get a few custom sabers from this site to see if their shader worked and it did, i even tried to copy their code just changing the paths to mach my saberbut it still won't work so a little help would be appreciated here is the code: models/weapons2/LegoSaber/LegoSaber { q3map_nolightmap { map models/weapons2/LegoSaber/LegoSaber blendFunc GL_ONE GL_ZERO rgbGen lightingDiffuse } { map models/weapons2/LegoSaber/LegoSaber-spec blendFunc GL_SRC_ALPHA GL_ONE detail alphaGen lightingSpecular } { map models/weapons2/LegoSaber/LegoSaber_env blendFunc GL_DST_COLOR GL_SRC_COLOR detail tcGen environment } } some of the hilts i downloaded had a .skin file so i made one too saber_w,models/weapons2/LegoSaber/LegoSaber and yes i did pack as a pk3 fileand yes it's lego saber hilt model (only thing i could think of)
mrwonko Posted May 5, 2013 Posted May 5, 2013 Maybe you could upload the model in its current state so we can take a look?
MagSul Posted May 5, 2013 Posted May 5, 2013 This'll probably help. http://jkhub.org/topic/1654-shader-on-a-reskinned-hilt/
Solution Delta_135 Posted May 5, 2013 Author Solution Posted May 5, 2013 This'll probably help. http://jkhub.org/topic/1654-shader-on-a-reskinned-hilt/ got it to work here's what i did:changed all \ to / in the custom propertie md3shader in blender and all other shaders and .skin filesexported the model as "saber_w"saved all .tga images as .jpg with no progressive or optimized settings and that did it thanks(should i mark this post as the answer?)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now