Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Unity 5.4 & 5.5 エフェクトアップデート

3865d333f9dc02cd417575c2cfa1606f?s=47 unitydojo
October 03, 2016
1.5k

Unity 5.4 & 5.5 エフェクトアップデート

去る5/30に行われたUnity道場の資料です。

3865d333f9dc02cd417575c2cfa1606f?s=128

unitydojo

October 03, 2016
Tweet

Transcript

  1. ِصذ؍٥ذؙظٗآ٦ؤ٥آٍػٝ 寑ㄤ歊剣鰊 6OJUZ ؒؿؙؑز،حفر٦ز 2016.9.30

  2. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN COPYRIGHT 2016 @ UNITY

    TECHNOLOGIES JAPAN 6OJUZծדךؒؿؙؑزꟼ鸬ך㢌刿挿תה׭ -JOF3FOEFSFS ˖ תה׮ח⢪ִ׷׮ךחז׏׋ 5SBJM3FOEFSFS ˖ ➬圫♧倜 ˖ ✼䳔䚍כ噰׭ג䚓׃ְךד،حفر٦زךꥷחכ׀岣䠐׾ 1BSUJDMF4ZTUFN ˖ زٔؖ٦ٌآُ٦ٕ鷄⸇ ˖ ٓ؎زָ⢪ִ׷״ֲחז׏׋ ˖ ظ؎ؤָ⢪ִ׷״ֲחז׏׋ ˖ زٖ؎ٕ㹋鄲 ˖ ءؑ٦ت٦חؕأةير٦ة׾鷏׸׷״ֲחז׏׋ ˖ -117㼎䘔 ˖ ׉ך➭㖑㄂ז׮ך
  3. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN 6OJUZ

  4. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN

  5. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN COPYRIGHT 2016 @ UNITY

    TECHNOLOGIES JAPAN 9:;3BUJP 9:;ָⴽղח䪔ִ׷״ֲח ˖ ➙㔐כ4J[F0WFS-JGFUJNFח黝欽׃ג⯔׾怴⳿ $JOFNBUJD*NBHF&GGFDUך#MPPNד⯔׾崢䩛ח ˖ )%3ך׋׭חءؑ٦ت٦ח鰛䏝׾ـ٦أزׇׁ׷鎸鶢׾鷄鎸 ˖ رؿٕؓزךءؑ٦تח׮$PMPS5JOUָ֮׶瀉ְٖٝآד葺ֽ׸לず圫ך ֿהָדֹ׷ fixed4 frag (v2f i) : SV_Target
 {
 fixed4 col = i.color * _Brightness * tex2D(_MainTex, i.texcoord); UNITY_APPLY_FOG_COLOR(i.fogCoord, col, fixed4(0,0,0,0)); return col;
 }
  6. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN

  7. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN COPYRIGHT 2016 @ UNITY

    TECHNOLOGIES JAPAN 5SJHHFSٌآُ٦ٕ 嚊銲 ˖ 䔲׋׶ⴻ㹀 ˖ ְ׻ײ׷0O5SJHHFS&OUFSװ0O5SJHHFS&YJUךػ٦ذ؍ؙٕ晛 ؎ٝألؙة鑫稢 ˖ *OTJEF䔲׋׏גְ׷הֹ ˖ 0VUTJEF䔲׋׏גזְהֹ ˖ &OUFS䔲׋׏׋澓꟦ ˖ &YJU⳿׋澓꟦ ˖ 3BEJVT4DBMF֮׋׶眔㔲ך㟓幾桦 ˖ 7JTVBMJ[F#PVOET؝ٓ؎تך〳鋔⻉կرغحؚ欽 ˖ فٕتַؐٝ׵鼅ץ׷ךכ$BMM#BDLծ,JMMծ*HOPSFך׫
  8. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN

  9. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN COPYRIGHT 2016 @ UNITY

    TECHNOLOGIES JAPAN -JHIU1SPCF1SPYZ7PMVNF ٓ؎زفٗ٦ـفٗؗءنُٔ٦يהכ ˖ ⹛涸ؔـآؙؑزךׁתׂתז⩎꬗׾殯ז׷ٓ؎زفٗ٦ـד⦐ղחٓ؎ذ؍ؚٝ׃ծ邌꬗ך鑫稢ז䞔㜠׾邌植 ׅ׷䪮遭 ˖ 鸐䌢ךٓ؎زفٗ٦ـה麩ְؔـآؙؑز⽃⡘דכזְךדծ暴ח㣐ֹֻ歗꬗׾㙵׭׷״ֲזծ״׶帾ְꤣ 䕦ך֮׷ؔـآؙؑزח暴ח剣⸬ ˖ ׋׌׃ٌغ؎ٕדכ植㖈劢㼎䘔 -JHIU1SPCF -117
  10. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN COPYRIGHT 2016 @ UNITY

    TECHNOLOGIES JAPAN -JHIU1SPCF1SPYZ7PMVNF ⢪ְ倯 ˖ ת׆כ兛鸐ח-JHIU1SPCF(SPVQ׾ꂁ縧 ˖ 㼎韋הז׷ؔـآؙؑزח-117؝ٝه٦طٝز׾鷄⸇ ˖ 3FOEFSFSך-JHIU1SPCFT鏣㹀׾6TF1SPYZ7PMVNFח鏣㹀 ˖ 1BSUJDMF4ZTUFNד׮קרず圫 את׶-JHIU1SPCFך؟ٝفؚٔٝر٦ة׾׮הח׃גְ׷ֿהח岣䠐 1BSUJDMF4ZTUFNד⢪ֲ ˖ אךؔـآؙؑزה׃ג䪔׻׸׷ךד-JHIU1SPCFך䛷䜋ָ「ֽחֻֻծ湱㼎涸ח-117׾⢪ֲ⣣⦼ָ֮׷կ ˖ ׋׌׃㼎䘔׃גְ׷ءؑ٦ت٦כ㼰זְ׋׭ծؕأةيءؑ٦ت׾剅ֻ䗳銲ָ֮׷ַ׮կ
  11. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN COPYRIGHT 2016 @ UNITY

    TECHNOLOGIES JAPAN -JHIU1SPCF1SPYZ7PMVNF ˖ سًُؗٝز׾⿫罋חIUUQTEPDTVOJUZEDPN.BOVBMDMBTT-JHIU1SPCF1SPYZ7PMVNFIUNM 㼎䘔ׇׁ׷חכ v2f vert (appdata_t v) { v2f o; o.vertex = UnityObjectToClipPos(v.vertex); o.worldNormal = UnityObjectToWorldNormal(v.normal); o.worldPos = mul(unity_ObjectToWorld, v.vertex).xyz; o.color = v.color; o.texcoord = TRANSFORM_TEX(v.texcoord,_MainTex); UNITY_TRANSFER_FOG(o,o.vertex); return o; } fixed4 frag (v2f i) : SV_Target { half3 currentAmbient = half3(0, 0, 0); half3 ambient = ShadeSHPerPixel(i.worldNormal, currentAmbient, i.worldPos ); fixed4 col = _TintColor * i.color * tex2D(_MainTex, i.texcoord); col.rgb += ambient; UNITY_APPLY_FOG_COLOR(i.fogCoord, col, fixed4(0,0,0,0)); // fog towards black due to our blend mode return col; } ٙ٦ٕسדך岀简ה䏟垥׾⥂䭯׃גֶֻ ַ׵㹀纏幥׫ך⦼@0CKFDU8PSMEכ VOJUZ@0CKFDU5P8PSMEח㢌刿חז׏׋ךד岣䠐 ֮הכꟼ侧4IBEF4)1FS1JYFMח״׏ג岀简ך倯ぢה䏟垥׾׮הח ؕٓ٦׾锃侭ׅ׷׌ֽ ⸬卓ָ׻ַ׶חַֻ׏׋׵BNCJFOU׾ـ٦أزׇׁג׮ְְַ׮
  12. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN 6OJUZ

  13. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN

  14. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN COPYRIGHT 2016 @ UNITY

    TECHNOLOGIES JAPAN -JHIUTٌآُ٦ٕ ˖ ه؎ٝزٓ؎زծأهحزٓ؎زָ⢪ִ׷״ֲחז׏׋ 嚊銲 鍑铡 ˖ ه؎ٝزٓ؎زהأهحزٓ؎ز׾؟ه٦ز ˖ 㹋ꥷךٓ؎زכا٦أה׃ג⢪ֲ׌ֽזךדծ،ؙذ؍ـ׾ⴖ׏ג ׮䎂孡׬׃׹׉ֲׅץֹ ˖ أهحزٓ؎زכ鹌遤倯ぢח⯔׾撑㼗 ˖ ٔ،ٕة؎يءٍسؐהַ$PPLJF׮؟ه٦ز ˖ 㛇劤涸חر؍ؿ؋٦س橆㞮ד⢪ֲֶ ˖ ؿؓٙ٦سדכػ٦ذ؍ؙٕ侧׾㟓װׅהⵖꣲח䒷׏ַַ׏ג갥 挿ٓ؎ذ؍ؚٝחז׏׋׶ׅ׷〸կغؚ׏שְֽו➬圫
  15. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN COPYRIGHT 2016 @ UNITY

    TECHNOLOGIES JAPAN -JHIUTٌآُ٦ٕ ˖ SBUJP⯔ך䓼ׁծ֮׷ְכ⳿植桦 ˖ SBOEPNEJTUSJCVUJPOֿֿחثؑحָؙⰅ׷ה♳鎸SBUJPָ䓼ׁדכ זֻ⯔׷׮ךך⳿植桦חז׷ ˖ 6TF1BSUJDMF$PMPSػ٦ذ؍ؙٕך葿׾⢪ֲַծ䧴ְכٓ؎زך葿׾ ⢪ֲַ׾ⴖ׶剏ִ׷ ˖ 4J[F"GGFDUT3BOHF؟؎ؤָ⯔ך眔㔲ח䕦갟׾♷ִ׷ַוֲַ ˖ "MQIB"GGFDUT*OUFOTJUZ،ٕؿ؋ָ䕦갟׾♷ִ׷ַוֲַ ˖ 3BOHF.VMUJQMJFS眔㔲ך⛦皾⦼ ˖ *OUFOTJUZ.VMUJQMJFS䓼ׁך⛦皾⦼ ˖ .BYJNVN-JHIUTְֻאתד⳿ׇ׷ַ.BY1BSUJDMFT׫׋ְז׮׿ ؎ٝألؙة鑫稢
  16. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN

  17. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN COPYRIGHT 2016 @ UNITY

    TECHNOLOGIES JAPAN 5SBJMٌآُ٦ٕ ˖ ػ٦ذ؍ؙٕ׾鷄騊ׅ׷״ֲזؒؿؙؑز׾㹋植 嚊銲 鍑铡 ˖ وذٔ،ٕכ3FOEFSFSٌآُ٦ٕחאֽ׷ךד岣䠐׃גי ˖ ذؙأثٍכ䊩ָ⯓畭הז׏גְ׷ ˖ 荈ⴓך鹌׿׌㣼騊חًحءُ׾欰䧭 ˖ ⯓畭⟃㢩ךًحءُכ⹛ַזְֿהח岣䠐 ˖ 瀉ֻג㽰㽵תד㝢׵׸גְ׷׮ך׾⡲׷儗כًحءُ׾稢ֻׅ׷ ˖ ًحءُ荈⡤כ⹛ַ׆ծ欰䧭ׅ׷ֿהד⹛ְגְ׷״ֲח鋅ׇגְ׷ךד ˖ ٓ؎ؿة؎يח״׷葿ך㢌⻉זוכ㹋植דֹזְךדծ؟ـؒىحة٦׾⢪ֲֶ
  18. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN COPYRIGHT 2016 @ UNITY

    TECHNOLOGIES JAPAN 5SBJMٌآُ٦ٕ ˖ 3BUJP⳿植桦 ˖ -JGFUJNF㼐ㄏػ٦ذ؍ؙٕ荈⡤ך㼐ㄏח㼎ׅ׷ⶴさ ˖ .BYJNVN7FSUFY%JTUBODFزٖ؎ٕ׾ⴓⶴׅ׷ⶴさկ㼰זְקו稢ֻז׷ ָًحءָُ㟓㣐ׅ׷կ剑㣐כ ˖ 5FYUVSF.PEFذؙأثٍ׾ة؎ٕ朐חٔؾ٦زׇׁ׷ַծ䒷ֹ⠼לַׅ ˖ 8PSME4QBDFٙ٦ٕس٥ٗ٦ٕؕ瑞꟦ךⴖ׶剏ִ ˖ Ⰻ⡤׾⹛ַׅהֹה㢌⻉ׅ׷ ˖ %JFXJUI1BSUJDMFTثؑحؙׅ׷הزٖ؎ָٕ嶊ִ׋הֹח%FBUI䪔ְחז׷ ˖ 4J[F"GGFDUT8JEUI؟؎ؤָ㣕ׁח䕦갟ׅ׷ַוֲַ ˖ 4J[F"GGFDUT-JGFUJNF؟؎ؤָ㼐ㄏח䕦갟ׅ׷ַוֲַ ˖ *OIFSJU1BSUJDMF$PMPS劤⡤ךؕٓ٦׾䒷ֹ竰ַּוֲַ ˖ $PMPS0WFS-JGFUJNF娤טתדך儗꟦穗麓ח״׷葿ך㢌⻉ ˖ 8JUDI0WFS5SBJM㣕ׁ׾⛦皾 ˖ $PMPS0WFS5SBJMزٖ؎ٕ荈⡤ךؕٓ٦ח⛦皾ؚٓرזוכֿֿד ؎ٝألؙة鑫稢
  19. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN

  20. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN COPYRIGHT 2016 @ UNITY

    TECHNOLOGIES JAPAN /PJTFٌآُ٦ٕ ˖ 荈搫ז⹛ֹծ剣堣涸ז⹛ֹ׾㹋植 嚊銲 鍑铡 ˖ ֶֶ׬י1FSMJO/PJTFկ ˖ 如⯋תד؟ه٦ز׃ג׷կ ˖ ؽٕز؎ٝꟼ侧ך.BUIG1FSMJOכ如⯋תדזךדծ׉׸״׶⢪ְ⳿ָ֮׷ ˖ 㢌侧せכوحفك٦أזךדծ㹋ꥷח⡦ָ㢌׻׷ךַכ⡤䠬׃ג鋙ִ׷倯ָ傍ְ
  21. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN COPYRIGHT 2016 @ UNITY

    TECHNOLOGIES JAPAN /PJTFٌآُ٦ٕ ˖ 4FQBSBUF"YFT䏟垥׾9:;חⴓⶴׅ׷ַוֲַ ˖ 4USFOHUI䓼ׁկ ˖ 'SFRVFODZ걼䏝ծ֮׷ְכꦄ׶さֲ׮ךה駈⚛׫׾䲧ִ׷ַוֲַ ה罋ִ׋倯ְְַָ׮կ ˖ 4DSPMM4QFFE倯ぢָ㢌׻׷ة؎ىؚٝך傍ׁה罋ִ״ֲ ˖ %BNQJOHتٝؾׇׁؚٝ׋ְ㜥さכ㢩ׅ ˖ 0DUBWF鑐遤㔐侧կ㔐侧ⴓ׌ֽ頾蚚ָ♳ָ׷ךד岣䠐կ ˖ 2VBMJUZ⹛ֹך醱꧟ׁկ如חׅ׷הءٝفٕז4JO岚׫׋ְז䠬ׄ חז׷ ˖ 3FNBQ⹛ֹך䊴׃剏ִկז׈ַؚٓؿך׫㼎䘔կ ؎ٝألؙة鑫稢
  22. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN

  23. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN COPYRIGHT 2016 @ UNITY

    TECHNOLOGIES JAPAN 7FSUFY4USFBN ˖ 3FOEFSFSַ׵ءؑ٦تח圫ղזر٦ةָ鷏׸׷״ֲחז׏׋ 嚊銲 鍑铡 ˖ 1PTJUJPOծ/PSNBMծ5BOHFOUծ$PMPSծ67ծ67#MFOE"OE'SBNFծ$FOUFS"OE7FSUFY*%ծ 4J[Fծ3PUBUJPOծ7FMPDJUZծ-JGFUJNFծ׉׃גאתדז׵⡦ד׮鷏׸׷ؕأةير٦ة ˖ إوٝذ؍ؙأָ搀ְ׮ךכⰋ鿇67䞔㜠5&9$003%ה׃ג鷏׵׸׷ ˖ 䱸简䏟垥禸ָ⢪ִ׷ךד岀简وحف׮〳腉ח ˖ ؿؑ٦س،صً٦ءّٝ׮〳腉ח ˖ 㹋鄲⢽כ倜׃ֻ鷄⸇ׁ׸׋ؽٕز؎ٝءؑ٦ت1BSUJDMF"OJN"MQIB#MFOE׾鋅׷ךָ䩛׏《׶傍ְ Particle System Shader Particle System Script Shader 鸐䌢 ؕأةي ر٦ة
  24. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN COPYRIGHT 2016 @ UNITY

    TECHNOLOGIES JAPAN 7FSUFY4USFBN׻ַ׶חְֻ׮ך鍑铡 ˖ ذؙأثٍ،صً٦ءّٝ⢪欽儗ך67⿹ןؿٖ٦ي䞔㜠 ˖ YZח如ךذؙأثٍך67ָⰅ׶ծ[חכ如ך؝وפך穗麓桦 ָⰅ׶ծXחכء٦؛ٝأⰋ⡤ך穗麓桦ָⰅ׏גְ׷ ˖ ⵸鶢׃׋1BSUJDMF"OJN"MQIB#MFOE׮ֿ׸׾⢪׏גְ׷ 67#MFOE"OE'SBNF GMPBU         9 ؿٖ٦يⰻך 穗麓桦 8 Ⰻ⡤ך穗麓桦 $FOUFS"OE7FSUFY*% GMPBU  ˖ ׉ךػ٦ذ؍ؙٕ匢هٔך⚥䗰䏟垥ָⰅ׷կ ˖ 1PTJUJPOכ⦐ղך갥挿ך䏟垥ד֮׶$FOUFS"OE7FSUFY*%כ ⚥䗰 ˖ 湱㼎䏟垥׾ה׷ךח׮⢪ִ׉ֲ
  25. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN COPYRIGHT 2016 @ UNITY

    TECHNOLOGIES JAPAN 7FSUFY4USFBNؕأةير٦ة鷏⥋⢽ ˖ ؕ٦إך䏟垥׾ٙ٦ٕس♳דך䏟垥ח㢌䳔׃גءؑ٦تח鷏׶ծ鵚ֻךػ٦ذ؍ؙٕך葿׾㢌刿׃׋⢽ $VTUPN%BUB
  26. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN ➙䖓ך鑧

  27. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN COPYRIGHT 2016 @ UNITY

    TECHNOLOGIES JAPAN $PSSFDUFE#JMMCPBSE ˖ 植朐כًؕٓ׾ٗ٦ٕ;㔐鯄׃׋儗ד׮ػ٦ذ؍ؙٕכ㔐鯄׃זְ➬圫կֿ׸׌ה♶鿪さָ饯ֹװְׅկ ˖ ㉏겗鍑嶊ך׋׭何㊣׃׋ؽٕن٦س׾㹋鄲✮㹀
  28. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN COPYRIGHT 2016 @ UNITY

    TECHNOLOGIES JAPAN ת׌ת׌؎؛ג׷،إحز׋׍ Vectrosity Particle Playground
  29. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN COPYRIGHT 2016 @ UNITY

    TECHNOLOGIES JAPAN ⿫罋 ˖ 6OJUZCMPH倜堣腉稱➜ ˖ IUUQTCMPHTVOJUZEDPNKQVOJUZJTPVUIFSFTXIBUTJOJU ˖ 6OJUZCMPHĔחאְג ˖ IUUQTCMPHTVOJUZEDPNKQHFUUIFVOJUZCFUBOPX ˖ 6OJUZCMPH-117חאְג ˖ IUUQTCMPHTVOJUZEDPNKQMJHIUQSPCFQSPYZWPMVNFGFBUVSFTIPXDBTF
  30. COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN 5IBOLT