Huy Minh Ha

Software development, Tech and other stuff

Thu 09 March 2017

Unity Mesh Morphing

Posted by Ha.Minh in Unity   

There are several ways to do mesh morphing in Unity.

One way is to use a commercial plugins like Megafier

You can use a simple script to do mesh morphing as well: https://github.com/minhhh/unity-meshmorphing. Remember to make all your mesh have the same number of vertices.

Read more...


Fri 24 February 2017

Unity Object Pooling

Posted by Ha.Minh in Unity   

An object pool provides an efficient way to reuse objects, and thus keep the memory foot print of all dynamically created objects within fixed bounds. This is crucial for maintianing consistent framerates in realtime games (especially on mobile), as frequent garbage collection spikes would likley lead to inconsistent performance.

Implementing ...

Read more...




Thu 02 February 2017

Better Unity workflow with command line

Posted by Ha.Minh in Unity   

To do certain tasks for our game workflow, we will need to use other external tools that can only called from the command line. One way to do this is to switch back and forth between Unity and the command line, obviously this is not the best way. Our goal ...

Read more...



Wed 18 January 2017

Using Webp texture format in Unity

Posted by Ha.Minh in Unity   

Webp is a very optimized image format. It will produce smaller image size with almost the same quality as other compression format such as: ETC2, DXT5, ETC1, PVRTC. Below is some comparison between Webp and popular compression format in Unity

512x512 Image Size in KB
Original 480
ETC1 4bits 128 ...

Read more...


Mon 09 January 2017

Unity package management

Posted by Ha.Minh in Unity   

A robust package management system is quite important when developing in Unity. People have been asking for one in the Unity forum. The following survey will list some popular options.

Projeny The purpose of Projeny is to allow your Unity3D project to easily scale in size without heavily impacting development ...

Read more...


Thu 05 January 2017

Dither Unity textures to save memory

Posted by Ha.Minh in Unity   

The project code is here: https://github.com/minhhh/unity-texture-dither

In many cases, we want to dither textures so that we can use more compact texture import format to save memory. This project aims to provide a workflow for dithering imported texture automatically, based on settings that can be swapped ...

Read more...