2
votes
Accepted
Calculating surface normal numerically
You should use the Sobel opererator, which is a type of convolution filter.
A 3x3 pixel convolution would work fine, but you need to do it twice: once for horizontal edges, then once for vertical ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
numerical-methods × 7mathematics × 3
physics × 2
integration × 2
unity × 1
c# × 1
c++ × 1
collision-detection × 1
software-engineering × 1
geometry × 1
design-patterns × 1
scripting × 1
physics-engine × 1
linear-algebra × 1
normals × 1