Postprocessing: OutlinePass animation problem

Created on 23 Feb 2018  路  4Comments  路  Source: vanruesc/postprocessing

Hello,

first of all thank you for your hard work on this library.

When I tried to use the OutlinePass effect, I found that it works well for static meshes, but when I try to play an animation, the outline does not follow the moving mesh parts. Is there any way to resolve this?

A minimal project for reproducing the problem is here: https://github.com/erosb/outlinepass-bug
After cloning,

  • run npm install && npm run-script build
  • load it with any static HTTP server
  • from the browser dev console run eg. playAnim("attack_3")

You can find it running here: http://erosb.github.io/outlinepass-bug/

Environment:

  • Tested in Chrome and Firefox
  • ubuntu 16.04
  • NVidia GeForce GTX 960

Thank you for your time.

bug

All 4 comments

Hi,

thanks for the report!

The OutlinePass uses a custom depth comparison material which doesn't seem to implement skinning (and clipping planes).

I'll take a closer look at this tomorrow. Stay tuned 馃槃

Fixed in [email protected].

RGBA Depth | Depth Mask | Outline Composite
:-------------------------:|:-------------------------:|:-------------------------:
rgba_depth | depth_mask | composite

You are awesome! Thanks a lot!

Thank you, the code example you provided helped a lot! 馃憤

Was this page helpful?
0 / 5 - 0 ratings