Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Feature request: Skew #388

Open
jackwlee01 opened this issue Jun 13, 2016 · 1 comment
Open

Feature request: Skew #388

jackwlee01 opened this issue Jun 13, 2016 · 1 comment

Comments

@jackwlee01
Copy link

I am developing an animation library for Luxe which would very much benefit from skew capabilities. Is skew functionality on the table for future updates?

@ruby0x1
Copy link
Member

ruby0x1 commented Jul 15, 2016

I'll keep it mind for the new renderer. It is relatively simple to implement in the vertex shader but it isn't free if it's not used (i.e 99.9% of the time), so i'm more inclined to make it something you use with a slightly customized shader.

But currently, the renderer complicates this by batching all the geometry together, so you would have to just skew the geometry once it's created at the vertex level. For example, if you have a sprite, you can access sprite.geometry.vertices and move around the relevant ones to introduce a skew.

Keep in mind that the rendering is being completely replaced though, so many things will change and it's worth mentioning that things are a bit of a transition state at the moment.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants