https://github.com/yqlizeao/UnitySoftRender/blob/662747e90795410f99ad6f027a83b4befc2f8f89/UnitySoftRender/Assets/Script/SoftRenderMain.cs#L349