Skip to content

Adds NPREffect to library - #414

Merged
Scott Matloff (scm-xbox) merged 9 commits into
mainfrom
npreffect
Jul 20, 2026
Merged

Scott Matloff (scm-xbox) merged 9 commits into
mainfrom
npreffect

Conversation

@walbourn

@walbourn Chuck Walbourn (walbourn) commented Jun 8, 2026 •

Copy link
Copy Markdown
Collaborator

NPREffect added which implements Cel (Toon) shading and Gooch shading.

  • With and without a base texture
  • Supports a specular threshold (rather than a Phong specular dot) with a smoothing factor
  • Supports rim lighting: outline for toon, additive for gooch
  • Supports instancing

NPREffect also supports MatCap shading.

  • With and without a base texture
  • Supports instancing

@walbourn Chuck Walbourn (walbourn) linked an issue Jun 8, 2026 that may be closed by this pull request
@walbourn

Chuck Walbourn (walbourn) commented Jun 8, 2026 •

Copy link
Copy Markdown
Collaborator Author

microsoft/DirectXTK#644

@walbourn

Copy link
Copy Markdown
Collaborator Author

Test coverage walbourn/directxtk12test#72

@walbourn Chuck Walbourn (walbourn) changed the title NPREffect to support cel shading, gooch, etc. Adds NPREffect to library Jul 14, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@scm-xbox
Scott Matloff (scm-xbox) merged commit 695e07f into main Jul 20, 2026
141 checks passed
@walbourn
Chuck Walbourn (walbourn) deleted the npreffect branch July 20, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ToonEffect

2 participants