Skip to content
World space normals texture for Unity's Universal Render Pipeline.
C# ShaderLab
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update FUNDING.yml Feb 4, 2020
Runtime First pass mesh normals Feb 4, 2020
Shaders First pass mesh normals Feb 4, 2020
Tests Update package template Feb 4, 2020
.gitignore Initial commit Feb 4, 2020
CHANGELOG.md Update package template Feb 4, 2020
CHANGELOG.md.meta Update package template Feb 4, 2020
LICENSE Update package template Feb 4, 2020
LICENSE.meta Update package template Feb 4, 2020
README.md Update README.md Feb 4, 2020
README.md.meta Update package template Feb 4, 2020
Runtime.meta
Shaders.meta First pass mesh normals Feb 4, 2020
Tests.meta Update package template Feb 4, 2020
package.json
package.json.meta Update package template Feb 4, 2020

README.md

kNormals

World space normals texture for Unity's Universal Render Pipeline.

alt text An example of normals texture generated from kNormals using the Boat Attack demo.

kNormals generates a world space normals texture for Unity's Universal Render Pipeline. It renders all opaque objects using a shader that outputs world space normals, writing them to a global texture shader variable. This texture can then be used for many screen space effects and on-GPU tools.

Refer to the Wiki for more information.

Instructions

  • Open your project manifest file (MyProject/Packages/manifest.json).
  • Add "com.kink3d.normals": "https://github.com/Kink3d/kNormals.git" to the dependencies list.
  • Open or focus on Unity Editor to resolve packages.

Requirements

  • Unity 2019.3.0f3 or higher.
You can’t perform that action at this time.