Normal maps are not showing in needle web build

I’ve put normal map in unity but on web build it does not show. Is there something I’m missing out or Is it under development still?

Original Post on Discord

by user 738335937485864961

Hello there – we have an experimental AI bot :robot: that might be able to help you with your question. Would you like to try this out?

How it works:
Reply to the messages of the bot that end with a thread_id to interact with it and ask follow-up questions. You can also mention the bot directly in this channel to get help.

Help requested: please wait a moment…

Here is what I found for you :brain: Discord

Hello Tobi216, when exporting your project from Unity to Needle Engine for the web build, normal maps should be supported as long as the materials are compatible with the glTF standard. If you’re using custom shaders or ones that don’t align with the names and properties that glTF materials expect, it could cause issues like the normal map not displaying properly.

Here are some points to ensure the normal maps show up correctly:

  • Use materials that can be converted out-of-the-box when exporting to glTF, like BiRP/Standard, BiRP/Autodesk Interactive, BiRP/Unlit, URP/Lit, and URP/Unlit.
  • If you’re using ShaderGraph shaders or custom shaders, make sure you have added an ExportShader Asset Label to these shaders. However, be aware that custom Lit shaders are experimental and might not support all rendering modes, and issues like shadow receiving might occur (see the documentation).

For further details, you can refer to the Exporting Materials section in the Needle Engine documentation.

If you’ve already followed these guidelines and are still facing issues, could you please provide more information on the steps you’ve taken and the material types you’re using? This could help in diagnosing the problem more effectively.

1 messages left GPT 4

I’ve used standard gltf material shader and I’m still not seeing the normal map details on web build

by user 738335937485864961

@Needle Engine Assistant

by user 738335937485864961

Hello Tobi216! How can I assist you today?

0 messages left GPT 3.5

I’ve used standard gltf material shader and I’m still not seeing the normal map details on web build @Needle Engine Assistant

by user 738335937485864961

You have reached your limit of 2 messages… please try again in a few hours

Hey :wave: that should work

Could you make a small white texture and assign it to the base color?

Hi What do you mean by a small white texture

by user 738335937485864961

Any wall texture?

by user 738335937485864961

or that :+1:

What Engine Version and Unity version are you running?

Material like this one works alright :thinking:

@Tobi216 which Unity / Render Pipeline / Needle version are you using?
And can you submit a bug please? Thanks

Hey… I’m using Unity vesion - 2022.3.7f1 / Render Pipeline - URP/ Needle Version - 3.24.0

by user 738335937485864961

Mine is the same and is still not working

by user 738335937485864961

Can you submit a bug please? Thanks

I’ve submitted it… Please help me resolve the issue

by user 738335937485864961

I can reproduce the issue here.

It looks like the lightmap on the wall “covers” the effect of the normal map visually – the normal map is actually properly exported and assigned. I don’t have an immediate solution unfortunately, will keep you posted