Heya! I’m learning unreal engine at the moment and I’m starting to work around material. Suddenly when I decided to put map to improve texture or to give a 3d feel to a material the material goes half dark/black… When I activate the map everything goes fine but if I deactive it not so much. If I totally remove my map node everything goes back to normal. I deactivated everything else to see if there was an issue with somewhere else but it really looks to be in my map the issue. Let me know! thanks
Hi @UberPz,
Hmm yeah, something is definitely up with your normal map. It’s clearly not adding the stone normal texture along with the general issues you’re seeing.
Immediately, I see that your static switch parameter “Use Normal Map” is set to false by default. Try checking that box to set it to true by default.
If this does not solve your issue, make sure your normal map is set up correctly. Where did you get it from? If you made this yourself, did you export it for OpenGL instead of DirectX?
If your normal map is set for OpenGL, you’ll need to check this button:
Also, make sure your normal map is using the correct compression settings.
Likely though, I think the first suggestion will solve your issue
Let me know how that goes!
Having a static switch parameter to control whether you want to use a normal map or not is a great way to handle this. The ‘False’ path you have currently sets the normal value to 0. This is not great because it will affect the normal of your object. Instead of plugging in 0 to this value, create another texture sample with a Flat Normal texture slotted in. This is essentially telling the material ‘Don’t alter the normal’. Additionally, you can give yourself the option of using a normal map or a bump map here with another switch node, and the NormalFromHeightMap node.
Thanks for the feedback! Currently working on it. I tried a flat normal texture it’s already better but as you can see it’s still darkening the material compare to if I just deactive the whole thing.. I will try the normalfromheight to see if it works …
Sorry apparently I can’t attach my screenshot that shows the darker version when the nod is connected… New users restriction =(
Solved it! Instead of a flat normal texture I just created a blue color and put it instead of the 0 value and it did the trick! Thanks !