After the original model I had created of this became too unrealistic I restarted work and am now finished my latest project, an L85A2 5.56 rifle. Here are the initial renders (ambient occlusions then a wireframe)
I then used radiosity and then baked that to a texture, opened in GIMP, set that layer to multiply and then filled in the green and black with solid colours, then loaded that texture as a UV map. I also added scratches in but these are hardly noticable:
The thing is though, my textures are hardly photorealistic! I can’t think of a way to make them look more like metal and plastic. Considering that whatever is done has to be either baked to a normal map or baked to a texture map, what can I do?
there’s no serious engine that doesn’t have a command for that already included in the libraries XD
I think in opengl it’s called gloss map (or something like that)
no no it’s MY game engine, I created it. I have texture maps already. By gloss maps do you mean environment maps? Obviously not true specularity (and not calculated on the fly either, preloaded) these might work but somehow I don’t think will help me to achieve the effect I want.
Oh, I’m sorry, I guess then I can’t help you anymore, I only know that all the big engines I’ve used so far (Irrlicht,Ogre,Unreal,Cry) use specular maps for the specular values and sometimes gloss maps for the spec falloff.
IF you really did your whole engine from scratch then you should look at bigger engines and try to include some of their libraries in your engine, but without spec maps you won’t ever get good results, of that I can assure you.
(I think the microsoft sdk has a command for spec maps included, but I’m not sure)