I'm new to crysis sdk so sorry if this is dumb question.
It seems to me that there in no option for gloss maps. There is specular power, glossiness slider but no gloss texture.
There it checkbox - glossMapDiffAlpha but it works as specular reflection power/color.
So is there way to texture gloss map in crysis mod sdk 2 ?
Or maybe it dosen't support it because of deffered lighning limitation of rendering variable specular reflections?
Replies
Put your gloss map is in your specular map's alpha channel
Enable PerPixel Specular Shinines tickbox* in the Shader Generation Params of your material.
* It is really spelled like this. Regarding gloss maps, there is an error in CryENGINE 3... ignore the Gloss Map DiffAlpha tickbox, it is used for something else... according to Helder Pinto there is some kind of mix up in labeling, just a minor bug.
*** edited... corrected an error pointed out by lxenonl
Your actual glossmap needs to go in the alpha of your specular map, you then need to enable per pixel specular shinyness in the shader and make sure that gloss map diff alpha is disabled. You have to increase glossyness to 255 in the shader as well.
If not then I can't find what I'm doing wrong and hell if I can work out what the shader's doing - only just loaded up this engine for the first time a couple of hours ago :P
Yeah it was fixed in 3.3.9 or 3.4, I can't remember what one, but it's the same thing.