- Home /
Question by
QuantumTheory · Mar 19, 2014 at 07:00 PM ·
texturemeshnormalmapnormal mapsurface normal
Export Normal Map from Selected Mesh
I want to be able to select a mesh and export a simple normal map of the geometry in the editor. Unfortunately, I'm not sure how to go about it in code.
I imagine I'll have to iterate over every texel on the geometry and write the tangent of that texel to the texture.
Can someone help get me started? Thanks!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613140653im_/https://answers.unity.com/themes/thub/images/avi.jpg)