If you mean that you want to replace the blue channel (Z axis) of a tangent-space normalmap with a constant scalar value, then use 1.0 instead of 0.5. Note that this only applies to tangent-space normalmaps, doesn’t work with world-space normalmaps.
If you mean that you want to replace the blue channel (Z axis) of a tangent-space normalmap with a constant scalar value, then use 1.0 instead of 0.5. Note that this only applies to tangent-space normalmaps, doesn’t work with world-space normalmaps.