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!