Skip to content

Adds NPREffect to library - #644

Merged
Chuck Walbourn (walbourn) merged 14 commits into
mainfrom
npreffect
Jul 20, 2026
Merged

Adds NPREffect to library#644
Chuck Walbourn (walbourn) merged 14 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

Copy link
Copy Markdown
Collaborator Author

Test coverage walbourn/directxtktest#73

@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.

@walbourn
Chuck Walbourn (walbourn) merged commit e09060f into main Jul 20, 2026
154 checks passed
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.

2 participants