Skip to content

thbop/Normal-Maps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Normal Maps

A custom implementation to get a normal map from an image.

Derivation

(Note: in the actual code, I also use the "corner pixels" to the top left, top right, bottom right, and bottom left of the current pixel.)

In Action

Heightmap (source):

Heightmap

Normal map produced:

Normalmap

Running a simple Lambertian Diffuse:

Lambertian

About

A custom implementation to get a normal map from an image.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages