Sign in to follow this  
visgotti

PIXI Spine shadow filter optimization?

Recommended Posts

Does anyone have experience optimizing/caching a DropShadow filter on spine animations? I was thinking that I apply the filter then each time a new unique combo of bones/trackEntries are played, i'll "hash" the combo (give it a unique string id based on frame index, skin name, etc) and then render the dropshadow to a render texture to be used the next time that "hash" is being played in the animation.

Has anyone done anything like this or have any tips that can save me some time in the long run? 

Share this post


Link to post
Share on other sites

in long run, i have more effective shadow filters waiting to be published for 3 months already :( 

2 ways:

1. flash way,

2. just 3 scaling textures with weights, @ 0.5, 0.25, 0.125 resolution.

If you really really really want to try that - I'll try to make it in next weekend :)

For now your solution is good enough.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.