pmndrs / pmndrs/react-postprocessing

Outline Effect with Animated Skinned Mesh

Open
#141 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.4k
Forks
134
Avg merge
4m
Merged PRs (30d)
4

Description

Hi,
I am trying to use outline effect with an animated model I downloaded from mixamo. But it never shows up. Here is a codesandbox i created:
https://codesandbox.io/s/outline-with-skinned-mesh-bug-f68l2d?file=/src/App.js

I tried to use OverwriteMaterial workaround but it doesn't seem to work.

I exported glb file from Blender and used gltfjsx to import to project.

Is there something i am missing? Do i need to write extra shaders?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin with src/App.js in the linked CodeSandbox and inspect the OverwriteMaterial workaround, then trace how the imported GLB and animated skinned mesh are passed to the outline effect. Done means the Mixamo model visibly receives the outline in the reproduction; verify the result in the CodeSandbox.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react, three.js, typescript
Domain
computer-graphics, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.