Normal from HeightMap (Not t2d)

Hello guys, I have a texture, that contains heightmap in Red channel. I need to make a normal from that. I know about NormalFromHeightmap, but it works only with Texture2D.

Is there any other way to get normal map from height?

Ok guys, I’ve solved it. Just opened NormalFromHeightmap function and copied everything I need from there.

1 Like