Skip to content

Is it possible to create (or emulate) shear transformations? #14622

Answered by bugsweeper
LeoCodes21 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, Transform doesn't have shear, it's rare feature, and looks like it some sort of combination of scale and rotation, you can try to calculate affine matrix by rotating till your objects diagonal would be located on one of axes, than scale (i think increasing) by that axis and rotate back. Matrix containing all that operations would be shearing matrix. Or if I'm wrong you could try to make your own shearing vertex shader with same idea in mind.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LeoCodes21
Comment options

Answer selected by LeoCodes21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants