DarthRaff Posted May 10, 2010 Share Posted May 10, 2010 Hello, First sorry if it is allready answered but, how can i use a specular texture instead of the alpha channel of the dot3 texture? i tried adding the texture in number 2 in material editor but allways takes the dot3 alpha channel. Have i to change something in the shaders pack or anything else? thank you. Quote Link to comment Share on other sites More sharing options...
BrokenPillar Posted May 10, 2010 Share Posted May 10, 2010 You have to use a shader that has "specularmap" in the name instead of "specular". For example "mesh_diffuse_bumpmap_specular" will always use the alpha of the normal, and "mesh_diffuse_bumpmap_specularmap" will use the texture that is in slot #2. If there isn't a specularmap version of the shader you want to use, just swap out the line that says "#define LW_SPECULAR" with "#define LW_SPECULARMAP texture2" in a text editing program and then save the file with a different name (just add "map" after specular if you want to maintain the same naming convention). Quote Vista | AMD Dual Core 2.49 GHz | 4GB RAM | nVidia GeForce 8800GTX 768MB Online Portfolio | www.brianmcnett.com Link to comment Share on other sites More sharing options...
DarthRaff Posted May 10, 2010 Author Share Posted May 10, 2010 Thank you very much for your help BrokenPillar Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.