Do Babylonjs provides any functionality to create normalmap from an image

Hello all,
Thanks in advance,
I’m new to Babylon, I have a 3D model I have used a normal map in shader to give it a more realistic effect, but for that, I have to upload an image and its normal map both. But I want to upload the only image and the task of generating a normal map from an image should be handled by Babylon. So that I don’t use any external software to generate normal maps of images to use in my project.

Hello and welcome!

As far as I know there is no such functionality in Babylon.
But you can write some script for that, like NormalMap-Online (the source is here - GitHub - cpetry/NormalMap-Online: NormalMap Generator Online).


Thank you so much for your help

1 Like