[Notice of Holidays]
Please note that our staff will not be available from 2024/Dec/28 - 2025/Jan/5 JST.
The Live2D Creators Forum will remain open during the holidays.
Submissions that require a response will be answered after we reopen for business.
Please note that it will take longer than usual to respond to your request.
Adding a normal map to the model textures for light
I am trying to add a normal map for a model in order to add light
how should I approach this?.
adding the normal map png directly to the model texture folder?
and if so how do I read it in the code into a new sampler2D for a new shader?
0 ·
Comments
Thank you for your contact.
This is Live2D Support.
The normal map png is loaded in the same way as the model texture, and a special shader is created to calculate it.
Although it is not official, there are some people who have done the same in Unity, which may help you with the placement of the png.
https://github.com/DenchiSoft/Live2DLighting
hope that helps!