/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
Shader ForgeÊÇÒ»¿î¹¦ÄÜÇ¿´óµÄ¿ÉÊÓ»¯Unity3D Shader±à¼Æ÷£¬Äܹ»°ïÖúÐÂÊÖÓû§¿ìËÙ½øÐÐshaderЧ¹ûÖÆ×÷µÄѧϰ£¬ÎªÓû§ÌṩÁËÇ¿´óµÄͼÏñ½çÃ棬°ïÖúÄã¿ìËÙÍê³ÉЧ¹ûÖÆ×÷£¬ÓÐÐèÒªµÄÓû§»¶ÓÏÂÔØʹÓã¡
ʵʱ×ÅÉ«Æ÷Ô¤ÀÀ£¬ÓÃÓÚ½ôÃܵĵü´ú´ÎÊý£»
ÊÓ¾õºÍÖ±¹ÛµÄ½çÃ棻
½ÚÄÜÎïÀíÕÕÃ÷£¬Blinn-Phong»òPhong£»
»ùÓÚͼÏñµÄÕÕÃ÷ ; ÓëMarmoset SkyshopÒ»ÆðÍêÃÀ£»
¶¥µã¶¯»£»
DX11ÏâǶºÍλÒÆ£»
Unity FreeºÍPro£»
ûÓжîÍâµÄÎļþ - Ö»ÓÐ.shaderÎļþ±¾Éí£»
¹ã·ºµÄ½ÚµãÎĵµ£¬½Ì³Ì¼´½«ÍƳö£»
°üÀ¨10¸öʾÀý×ÅÉ«Æ÷£¬Äú¿ÉÒÔ×ÔÓÉ´ò¿ª£¬±à¼ºÍʹÓã»
×Ô¶¨ÒåÕÕÃ÷Ö§³Ö£¬Èç¹ûÒª»ñµÃ´´Òâ»ò¼¼Êõ£»
ÂÖÀª¿í¶ÈºÍÑÕÉ«¡£
3DÔ¤ÀÀÏÖÔÚÔËÐÐËٶȸü¿ì£¬²»ÔÙÊÜÏÞÖÆÒÔ40 fps£¨ÏÖÔÚΪ60£©¡£
ÐÞ¸´ÁË×èÖ¹SFÔÚUnity 2017.xÖдò¿ª¡£
µÄ´íÎó•ÐÞ¸´ÁËÔÚUnity 5.6+ ÖеÄ×ÅÉ«Æ÷¼ì²éÆ÷Öе¼Ö´íÎóµÄ´íÎó¡£
ºóÖÃЧ¹ûÔ¤ÉèÏÖÔÚ¿ÉÒÔÕýÈ·¹¹Ô죬ÒÔÆ¥ÅäUnityµÄOnRenderImageºó´¦Àíϵͳ¡£
ÐÞ¸´ÁËÒ»¸ö´íÎó£¬Îª×ÅÉ«Æ÷Ìí¼ÓÁ˲»±ØÒªµÄÊÓͼ·´Éä´úÂë¡£
×ÅÉ«Æ÷´úÂëÏÖÔÚʹÓÃUnityObjectToClipPos£¨x£©¶ø²»ÊÇmul£¨UNITY_MATRIX_MVP£¬x£©
ShaderForgeµÄ½çÃæ·ÖΪԤÀÀ¡¢ShaderÉèÖÃ(Ãû³Æ¡¢ÊôÐÔ¡¢¹âÕÕÄ£ÐÍ¡¢¼¸ºÎ»æÖÆ¡¢»ìºÏģʽ)¡¢½ÚµãÁ¬Ïß±à¼Ãæ°å¡¢½ÚµãÁÐ±í¡£
1¡¢»ù±¾²Ù×÷£º
1)¡¢½Ø¶ÏÁ¬Ïߣº°´×¡alt²¢ÓÒ¼ü
2)¡¢¿òÑ¡£º°´×¡alt¼ü²¢¿òÑ¡
3)¡¢¶ÔÓÚ²»ÈÏʶµÄ½Úµã£¬ÓÒ¼üÑ¡Ôñwhat£¬³öÏÖAPI¹ÙÍø£¬¿ÉÑ¡¼òÌå×Ö
2¡¢¿ªÊ¼ÉèÖãº
1)¡¢Ð½¨²ÄÖÊÒªÃüÃû²¢ÉèÖú÷¾¶
2)¡¢¿¼ÂÇshader¿ÉÄÜ»áÔËÐеÄƽ̨»òÏÔ¿¨ÅäÖÃ
3)¡¢äÖȾ·¾¶£ºÏòÇ°äÖȾ»òÑÓ³ÙäÖȾ£¬ºóÕßÄÜÃâ³ýÖظ´äÖȾ£¬ÌáÉýäÖȾЧÂÊ£¬µ«²»ÄÜʵÏÖ¿¹¾â³ÝÓë»ìºÏ¼¼Êõ
4)¡¢¹âÕÕģʽ:×Ô¶¨Òå¹âÕÕµÈ
5)¡¢¾µÃæ·´Éäģʽ£º¾µÃæ»ò½ðÊô
6)¡¢¹âÔóģʽ£º¹âÔó»ò´Ö²Ú
7)¡¢Geometry->Face Culling:±³ÃæÇгý»òÕýÃæÇгý»òË«ÃæäÖȾ
8)¡¢Blend Mode£º»ìºÏģʽ
3¡¢MainÊä³ö¶Ë£º
1)¡¢Diffuse Power£ºÂþ·´ÉäÁ¦µÀ£¬Ï൱ºÄÄÜ
2)¡¢Metallic£º½ðÊôÖʸУ¬ÖµÔ½´óʱÂþ·´ÉäԽС
3)¡¢Gloss£º¹âÔó£¬ÖµÔ½¸ß¹âÔó¶ÈÔ½¸ß£¬1Ϊ¼«Öµ£¬ÎK±Ø·´
4)¡¢Emisson£º×Ô·¢¹â
5)¡¢Transmission£ºÍ¸É䣬¾ö¶¨ÓжàÉÙ¹âÏß¿ÉÒÔ͸¹ý²ÄÖÊ
6)¡¢Light Wrapping£º»·Èƹ⣬ÈùâÏß»òij¸öͨµÀµÄÖµ»·ÈƶÔÏ󣬿É×ö³öƤ·ôµÄЧ¹û
7)¡¢Diffuse Ambient Light£ºÂþ·´Éä»·¾³¹â£¬Ìí¼Ó¹âÏß»ò»·¾³¹â»òÁ¢ÌåÌùͼ£¬²»ÐèÒª×Ô·¢¹â»ò¹âÔ´£¬Ò²ÄÜÏÔÁÁ
8)¡¢Specular Ambient Light£º¾µÃæ·´Éä»·¾³¹â£¬¿ÉÓ³³ö»·¾³µÄÌùͼ???
9)¡¢Diffuse Ambient Occlusion£ºÂþ·´Éä»·¾³¹âÕÚÕÖ£¬ÒÖÖƼä½ÓÂþ·´Éä¹âÏß
10)¡¢Specular Ambient Occlusion£º¾µÃæ·´Éä»·¾³¹âÕÚÕÖ£¬ÒÖÖƼä½Ó¾µÃæ·´Éä¹âÏß
11)¡¢Custom Lighting£º×Ô¶¨ÒåÕÕÃ÷£¬±»¹âÕÕÉäʱ£¬×Ô¶¨ÒåÕÕÉäЧ¹û
12)¡¢Opacity:²»Í¸Ã÷¶È£¬¿ØÖÆ×îºóÏñËصÄ͸Ã÷¶È
13)¡¢Opacity Clip£º²»Í¸Ã÷¶È¼ôÇУ¬¸ù¾Ý°¢¶û·¨Í¨µÀ¼ôÇв»Í¸Ã÷ÇøÓò
14)¡¢Refraction£º·´É䣬ÓÃÓÚÕÛÉä±³¾°ÏñËصÄÆÁÄ»¿Õ¼ä UV Æ«ÒÆ¡£ÇëÈ·±£ÔÚʹÓÃÇ°°Ñ Opacity(²»Í¸Ã÷¶È)ÉèÖÃΪµÍÓÚ 1 µÄÖµ£¬ÒÔ±ãÕÛÉäЧ¹û¿É¼û
15)¡¢Outline Width£ºÃè±ß¿í¶È
16)¡¢Vertex Offset£º¶¥µãÆ«ÒÆ£¬²åÈëÿ¸ö¶¥µãËùÐèÆ«ÒÆÁ¿µÄ XYZ ×ø±ê
17)¡¢DX11 Displacement£ºDX11 λÒÆ£¬´ËÑ¡ÏîÓë Vertex Offset(¶¥µãÆ«ÒÆ)µÄ×÷Ó÷dz£ÀàËÆ£¬µ«ÊÇÓë DX11 ÇúÃæϸ·ÖÒ»ÆðʹÓá£(Çë×¢Ò⣬DirectX ½öÊÊÓÃÓÚ Windows£¬ÐèÒª DX11 GPU ÇÒ±ØÐëÔÚ Unity ÉèÖÃÖÐÆôÓÃ)
18)¡¢DX11 Tessellation£ºDX11 ÇúÃæϸ·Ö£¬´ËÑ¡Ïî¿ØÖÆÄúÒª°ÑÈý½ÇÐηָîΪ¶àÉÙ¸öϸ·Ö¡£(Çë×¢Ò⣬DirectX ½öÊÊÓÃÓÚ Windows£¬ÐèÒª DX11 GPU ÇÒ±ØÐëÔÚ Unity ÉèÖÃÖÐÆôÓÃ)
¹ØÓÚÌÚÅ£ | ÁªÏµ·½Ê½ | ·¢Õ¹Àú³Ì | °æȨÉùÃ÷ | ÏÂÔØ°ïÖú(£¿) | ¹ã¸æÁªÏµ | ÍøÕ¾µØͼ | ÓÑÇéÁ´½Ó
Copyright 2005-2024 QQTN.com ¡¾ÌÚÅ£Íø¡¿ °æȨËùÓÐ ¶õICP±¸2022005668ºÅ-1 | ¶õ¹«Íø°²±¸ 42011102000260ºÅ
ÉùÃ÷£º±¾Õ¾·ÇÌÚѶQQ¹Ù·½ÍøÕ¾ ËùÓÐÈí¼þºÍÎÄÕÂÀ´×Ô»¥ÁªÍø ÈçÓÐÒìÒé ÇëÓë±¾Õ¾ÁªÏµ ±¾Õ¾Îª·ÇÓ®ÀûÐÔÍøÕ¾ ²»½ÓÊÜÈκÎÔÞÖúºÍ¹ã¸æ