Skip to content

Adds NPREffect to library#644

Merged
walbourn merged 14 commits into
mainfrom
npreffect
Jul 20, 2026
Merged

Adds NPREffect to library#644
walbourn merged 14 commits into
mainfrom
npreffect

Conversation

@walbourn

@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 walbourn changed the title NPREffect to support cel shading, gooch, etc. Adds NPREffect to library Jul 14, 2026
@walbourn
walbourn marked this pull request as ready for review July 16, 2026 23:18
@azure-pipelines

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

@walbourn
walbourn merged commit e09060f into main Jul 20, 2026
154 checks passed
@walbourn
walbourn deleted the npreffect branch July 20, 2026 18:53
@walbourn walbourn mentioned this pull request Jul 20, 2026
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