PVRTCãAtlasãç ´å£ããåé¡ã«ã¤ãã¦
PVRTCã®å§ç¸®ã«ã¤ãã¦ãã¡ãã£ã¨ããè£è¶³ã
ç»åã®å§ç¸®ã«ã¤ãã¦ã¯ãã¡ã
[Unity3D]iosã¢ããªãµã¤ãºãç¯ç´ãã
http://terasur.blog.fc2.com/blog-entry-140.html
â PVRTCã®æ£æ¹å½¢ç¸ã
ã©ããããUnityã¯ç»åãPVRTCå½¢å¼ã§å§ç¸®ããå ´å
ç»åããæ£æ¹å½¢ãã«å¼·å¶çã«å¤æãããããã
ï¼â»PVRTCã¯æ£æ¹å½¢ã®ç¸ãããã£ãï¼
æ£æ¹å½¢ã¸ã®å¤æã¯ãå¼ã伸ã°ããã§è¡ã模æ§ã
ãã®è¾ºãã¯ãå¥ã«æ£æ¹å½¢ã§ãªãã¦ãå§ç¸®ã§ãã¦ããã®ã§è¦è½ã¨ãã¦ããã
PVRTC formats require textures to be square (width equal to height)
Texture 2Dï¼Unity Manual ï¼è¦ããã«2048ï½1024ã§ãå§ç¸®æã«2048x2048ã«å¤æããã¦ãã¾ãã
http://docs.unity3d.com/Documentation/Manual/Textures.html
ãããªãã¨è¿½å ã®2048ï½1024ã®å®¹éãç¡é§ã«ãªãã®ã§ã
å ´åã«ãã£ã¦ã¯1024ï½1024ã2ã¤ã«åå²ããã»ããè¯ãããã ã
ï¼Atlasãè¤æ°åºæ¥ä¸ããã®ã§ã
ã管çã®é¢åãããï¼ããã©ã¼ãã³ã¹ä½ä¸ã¨å®¹éã®ãã¬ã¼ããªãã«ãªãï¼
ï¼å
ã
ã¯256ï½64ã®ç»åï¼
â Atlasãç ´å£ããã
ãã®äºã§ä¸çªåé¡ã«ãªãã®ã¯ãAtlasãç ´å£ããããã¨ã
æ£ããè¨ãã¨ãNGUIã®Atlasãç ´å£ããããã¨ã
Atlasã¯ãã¯ã¹ãã£ãåãåãç¯å²ããç»åã®ãã¯ã»ã«ã«å¯¾ãã座æ¨ã§æå®ãã¦ããã
ãªã®ã§ãä»åã®ããã«ãç»åãå¼ã伸ã°ããããããç»åã®ãµã¤ãºãå¤æ´ããããã¨
座æ¨ã対å¿ã§ããªããªãã表示対象ãå´©ããäºã«ãªãã
ããã¯å®ã¯Unityã®ãç»åã®æ大ãµã¤ãºããã©ãããã©ã¼ã æ¯ã«è¨å®ãããæ©è½ãå½±é¿ãåããã
ãªã®ã§ãAssetä½è
ãAtlasããã¯ã»ã«ã®å²åã§åå¾ããããã«ãããã
Unityå´ãç»åã®ãµã¤ãºãå¤æ´ãã¦ãå¤åãã¦ãªãããã«å½è£
ããæ©è½ã
ç¨æãããããã¨ã¨ã¦ã楽ã§ãããã ãã©ã