Implement normal map generation for floating point images.
This commit is contained in:
@ -41,10 +41,12 @@ namespace nv
|
||||
NormalMapFilter_Sobel9x9, // very large
|
||||
};
|
||||
|
||||
// @@ These two functions should be deprecated:
|
||||
FloatImage * createNormalMap(const Image * img, FloatImage::WrapMode wm, Vector4::Arg heightWeights, NormalMapFilter filter = NormalMapFilter_Sobel3x3);
|
||||
|
||||
FloatImage * createNormalMap(const Image * img, FloatImage::WrapMode wm, Vector4::Arg heightWeights, Vector4::Arg filterWeights);
|
||||
|
||||
FloatImage * createNormalMap(const FloatImage * img, FloatImage::WrapMode wm, Vector4::Arg filterWeights);
|
||||
|
||||
void normalizeNormalMap(FloatImage * img);
|
||||
|
||||
// @@ Add generation of DU/DV maps.
|
||||
|
Reference in New Issue
Block a user