Hello,
Recently I started converting weapons with help of zmodeler3. I had done many weapons and had no problems using specmap and bumpmap textures. Recently with a weapon I started converting it only looks like a flat texture and no visible trace of bumpmap and specmap. I tried another weapon model but also run into this issue. Does anyone know a fix for this? it would be gladly appreciated.
Pictures for reference:
Bumpmap,specmap not working on export.
Re: Bumpmap,specmap not working on export.
does your model has "Tangents" toggled in properties of geometry objects? Surface\Normals\Calculate tool need to be applied after toggling "Tangents" too.
-
- Posts: 16
- Joined: Sat Aug 27, 2022 3:30 am
Re: Bumpmap,specmap not working on export.
I will check to see if I have this applied
-
- Posts: 16
- Joined: Sat Aug 27, 2022 3:30 am
Re: Bumpmap,specmap not working on export.
i would suggest to enable tangents, create new UV via Edit UV -> Generate new (just for test purpose) and apply Surface\Normals\Calculate. in this exact order. then export and check in game whether shading/bump is correct or not.
correct bump-map requires model to have proper normals and tangents. tangents are calculated when model has uniform layout on UV#1, when mapping is messed or degradated, tangents can not be calculated.
other than that I would suggest to try different game shader (adaptation) on material. try a shader that does not use bump-map, just to ensure the issue is actually related to material itself rather than the model.
also, note, you have to ensure the game actually finds and loads bump texture. if it misses to find the one, the model can't be shaded properly. I would suggest to put a bump-map texture of mesh/net/tiles.. something that is explicitly distinguishing when you look at. for example, you can clearly identify whether the bump map texture is actually applied or not if you put tiles bump textures - may be this will give some hint on what is going on or what went wrong.
correct bump-map requires model to have proper normals and tangents. tangents are calculated when model has uniform layout on UV#1, when mapping is messed or degradated, tangents can not be calculated.
other than that I would suggest to try different game shader (adaptation) on material. try a shader that does not use bump-map, just to ensure the issue is actually related to material itself rather than the model.
also, note, you have to ensure the game actually finds and loads bump texture. if it misses to find the one, the model can't be shaded properly. I would suggest to put a bump-map texture of mesh/net/tiles.. something that is explicitly distinguishing when you look at. for example, you can clearly identify whether the bump map texture is actually applied or not if you put tiles bump textures - may be this will give some hint on what is going on or what went wrong.
-
- Posts: 16
- Joined: Sat Aug 27, 2022 3:30 am
Re: Bumpmap,specmap not working on export.
Alright, I will try this later today to see if it fixes the issueOleg wrote: ↑Sat Sep 03, 2022 12:06 am i would suggest to enable tangents, create new UV via Edit UV -> Generate new (just for test purpose) and apply Surface\Normals\Calculate. in this exact order. then export and check in game whether shading/bump is correct or not.
correct bump-map requires model to have proper normals and tangents. tangents are calculated when model has uniform layout on UV#1, when mapping is messed or degradated, tangents can not be calculated.
other than that I would suggest to try different game shader (adaptation) on material. try a shader that does not use bump-map, just to ensure the issue is actually related to material itself rather than the model.
also, note, you have to ensure the game actually finds and loads bump texture. if it misses to find the one, the model can't be shaded properly. I would suggest to put a bump-map texture of mesh/net/tiles.. something that is explicitly distinguishing when you look at. for example, you can clearly identify whether the bump map texture is actually applied or not if you put tiles bump textures - may be this will give some hint on what is going on or what went wrong.
-
- Posts: 16
- Joined: Sat Aug 27, 2022 3:30 am
Re: Bumpmap,specmap not working on export.
Is it also possible that the way the texture has been made one of the problems? If I look at GTA detail texture and their bumpvariants, they only differ in color. While my bump texture differs completely in things, here is a picture for reference: vs how gta has done it: . Is this possible to be causing the problem?
Re: Bumpmap,specmap not working on export.
nope, both variants look ok to me. have you tested the modded weapon with another (original game's) bump texture as a test? just to see whether it makes shading look better or not?
-
- Posts: 16
- Joined: Sat Aug 27, 2022 3:30 am
Re: Bumpmap,specmap not working on export.
I have managed to fix the problem by partially redoing the texture, that seemed to be the issue.