Hey everyone, this is my first Time in this forum and also a beginner in using three js……recently I wanted to dynamically convert height map into normal map, I did some research came across normalmapshader.js In examples of three.js……I even created a normal map through shader material, but how do I use shader material as normal map in meshstandardmaterial…….can someone help me in that……thank you
You can’t use material as textures. However, you can use the material with a plane mesh and then render into a render target. Such a render target can be used as a texture. I suggest you study the following example for more details: three.js webgl - render-to-texture