# 3D Shearing

We can denote shearing with **‘SH _{x,}’ ‘SH_{y,}’ and ‘SH_{z.}’ **These ‘

**SH**are called

_{x,}’ ‘SH_{y,}’ ‘SH_{z}’**“Shearing factor.”**

The basic difference between 2D and 3D Shearing is that the 3D plane also includes the z-axis.

We can perform shearing on the object by following three ways-

**Shearing along the x-axis:**In this, we can store the x coordinate and only change the y and z coordinate.

We can represent shearing along x-axis by the following equation-

**x _{1} = x_{0} **

**y _{1} = y_{0} + SH_{y}. x_{0}**

**z _{1} = z_{0} + SH_{z}. x_{0}**

**3D Shearing Matrix:**

**Shearing along the y-axis:**In this, we can store the y coordinate and only change the x and z coordinate.

We can represent shearing along with y-axis by the following equation-

**x _{1} = x_{0} + SH_{x}. y_{0}**

**y _{1} = y_{0} **

**z _{1} = z_{0} + SH_{z}. y_{0}**

**3D Shearing Matrix:**

**Shearing along with z-axis:**In this, we can store the z coordinate and only change the x and y coordinate.

We can represent shearing along with z-axis by the following equation-

**x _{1} = x_{0} + SH_{x}. z_{0}**

**y _{1} = y_{0} + SH_{y}. Z_{0}**

**z _{1} = z_{0}**

**3D Shearing Matrix:**