-
Notifications
You must be signed in to change notification settings - Fork 0
Generating Normal Maps
Support for generating normal-maps is built-in to PixelGraph. They can be manually "baked" into the project, or automatically generated during publishing as-needed.
-
sobel3
- This is the most commonly used filter for generating normal maps, and uses a simple Sobel3x3 filter. -
sobel-high
- A variant of the Sobel3x3 filter using high-pass filtering on the kernel to produce "single-pixel" normals. This will limit normals to only being generated for "lower" pixels. -
sobel-low
- A variant of the Sobel3x3 filter using low-pass filtering on the kernel to produce "single-pixel" normals. This will limit normals to only being generated for "higher" pixels. -
variance
- An experimental filter using a combination of down-sampling and variance-mapping to better capture both high and low frequency curves.
![generate normals UI](https://github.com/null511/PixelGraph/raw/master/media/wiki/generate-normal-map.png)
-
Filter - One of the above normal-map filters. Default value is
Sobel3
. -
Strength - The strength of the generated normals. Default value is
1.0
.
pixelgraph generate normal <options>
TODO