Image Manipulation Shader

This is a unity project that is mostly focused on shader. The shader uses OPEN GL routine to process the texture. It is used as a 2d texture manipulator to process images.

 

 

After entering play mode, user can create handles to manipulate images by clicking on the screen. 

 

 

User is also able to create multiple handles on the screen by clicking multiple times.

 

 

Then, the user needs to hit on space. The project will enter handle moving mode. The user can move the handles by dragging yellow squares. The around area pre-defined by radius will move with the handle.

 

By dragging the white circle around the yellow square, the user is able to rotate the handle. The texture around will rotate with the handle.

 

 

Users can also modify the radius of influenced area by drag the bar on the bottom of screen.

 

 

The influenced area is increased accordingly.

 

By hitting on "B" on keyboard, it will show the influencing area of each handle. Hit "B" again will disable the mask. 

 

 

Source code:

https://github.com/PandaKunQiao/image-manipulation-tool