狀態(tài)特效入門

這篇文章翻譯自ModDota論壇贷掖,源地址

這篇教程將會說救命如何創(chuàng)建及修改狀態(tài)特效七兜,狀態(tài)特效的效果如下昌屉。

Paste_Image.png
Paste_Image.png
Paste_Image.png
Paste_Image.png
Paste_Image.png

一钙蒙、基礎(chǔ)

在粒子特效編輯器里面創(chuàng)建一個粒子特效并保存,你需要確認你在View標簽里面打開了"View as DOTA Status Effect"间驮,這樣你才能明白下面這些function是什么意思躬厌。
我們需要使用以下這些操作函數(shù)來生成一個狀態(tài)特效。

Renderers:

  • Render status effect
    Operators:
  • Lifespan endcap timed decay
    Initializers:
  • 9x Scalar random
  • 8x Vector component random
  • 2x Color random

二竞帽、操作步驟

首先一定要明白一點扛施,你的特效不會在粒子特效編輯器中顯示出來,你需要進游戲去查看屹篓。

1. 基礎(chǔ)屬性

Base Orioertues設(shè)置基礎(chǔ)的粒子特效疙渣,將最大粒子數(shù)量max particles設(shè)置為1,其他的保持默認堆巧。

2. 渲染狀態(tài)特效

Render status effect這個函數(shù)對于渲染一個狀態(tài)特效是最重要的昌阿,他需要選擇一個材質(zhì)vtex, vmat,在V社的狀態(tài)特效中恳邀,這些材質(zhì)是通過多個Vector component random來定義的懦冰,這個就會比較復(fù)雜了,如果我們自己使用谣沸,那么就使用Render Status Effect最好了刷钢,這樣會比較容易處理及理解。

Paste_Image.png

這里面最重要的是 Color warp材質(zhì)和detail 2 材質(zhì)乳附。

Color Warp材質(zhì)

A 3D texture that applies a color transformation like hue shift or contrast adjusments to the original colors. Click on the magnifying glass and type colowarp in the searchbar to see all the color warp textures.Note: Only colowarp textures will work for this.
Detail 2 texture
Overrides the detail map. You can basically use any texture for this. Make sure you select an appropriate blend mode for your texture withD_DETAIL_2 (will be covered later on).
Diffuse warp texture
Determines where diffuse reflections occur.
Fresnel color warp texture
Applies a colortransfromation around the edges of the model. Use color warp textures for this.
Fresnel warp texture
Determines where the fresnel color warp is apllied.
Specular warp texture
Determines where the specular reflection occurs.
Environment map texture
I’m not sure what this does. It doesn’t seem to have much impact.
Scalar random
In the properties window you can set what the scalar random function should do. The output field defines what parameter should be changed and the min and max values(which should be most of the time equal) set how much it is changed.

For our 9 Scalar random we need:
Note: In this guide min and max will always be equal. If you don’t know what does what just play around with the values and observe the changes ingame.
ColorWarpBlendFactorDefines how much the Color Warp Texture is blended in.
Values: 1 = Fully blended in, 0 = Fully Opaque.

D_DETAIL_2Blend method of the detail 2 texture.
Values: 0 to 5 in whole numbers.

Detail2TexCoordScaleSets the coordinate scale of the Detail2 Textue.
Values: The larger the number the smaller the Detail2 Texture and the more often it needs to be placed on the model. Typical Values: 2-5.

Detail2BlendFactorDefines how much the Detail2 Texture is blended in.
Values: 1 = Fully blended in, 0 = Fully Opaque, can also be >1.

CubeMapScalarSets how strong the Cube Map is blended in? You don't need to know what this does exaclty since it doesen’t have much impact.
Values: Try anything from 0 to 1.

AmbientScaleSets how strong the Ambient Texture is apllied.
Values: Larger Values will make the Ambient Texture appear stronger.

RimLightScaleSets how strong the Rim Light is apllied. Rim Light is the highlighting around the edges of the model.
Values: Larger Values will make the Rim Light appear stronger.

NONE($RIMLIGHTBLENDTOFULL)Defines how much the Rim Light is blended in.(I‘m not sure on this)
Values: Try something between 0 and 1.

NONE($FRESNELCOLORWARPBLENDTOFULL)Defines how much the Fresnel Colorwarp Texture is blended in. (I‘m not sure on this)
Values: Try something between 0 and 1.

Vector component random
Here the functionallity is defined through the output field and the component field. The output field selects a set of three different parameters (as you can see some of them can be NONE and are just placeholders). The component field chooses what exact parameter from that set should be changed. X Component selects the first, Y Component the second and Z Component the third. Like in Scalar random min and max define how much the parameter is changed.

For our 8 Vector component random we need:
Note: Again just play around with the values to see yourself what is changed.
2x SpecularScale +NONE+DiffuseWarpBlendToFull
SpecularScaleSets how strong the Specular Reflection is visible.
Values: Larger Values result in stronger Specular Reflection.

DiffuseWarpBlendToFullDefines how much the Diffuse Warp Texture is blended in.
Values: 1 = Fully blended in, 0 = Fully Opaque.

3x SpecularExponent+SpecularExponentBlendToFull+SpecularBlendToFull
SpecularExponentSets the size of the Specular Highlight Spot.
Values: Typically 5 to 20.

SpecularExponentBlendToFullDefines how much the Specular Exponent is blended in.
Values: 1 = Fully blended in, 0 = Fully Opaque.

SpecularBlendToFullDefines how much the Specular is blended in.
Values: 1 = Fully blended in, 0 = Fully Opaque.

3x ReflectionsTintBaseBlendToNone+MetalnessBlendToFull+SelfIllumBlendToFull
ReflectionsTintBaseBlendToNoneI’m not certain on this but it has something to do with Specular Reflection.
Values: Larger Values will make the Specular Reflection appear stronger.

MetalnessBlendToFullDetermines how metallic the Status Effect appears.
Values: Larger Values will make it look more metallic and shiny.

SelfIllumBlendToFullSets How much self illumination the status effect will have.
Values: 0 = no self Illumination, 1 = full self Illumination.

Color random
With the Color random function we can define the Rim Light Color and the Specular Color. The only options we need from the properties window are color 1, color 2 and output field. The output field again sets what will be changed and color 1 and 2 set to what color it will be changed.

For our 2 Color random we need:
Note: Color 1 and 2 don’t need to be the same but in most cases they should be.
RimLightColorSets the Rim Light Color.

SpecularColorSets the Specular Color.

Hope this helps. Feel free to ask questions or give me feedback.

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末内地,一起剝皮案震驚了整個濱河市,隨后出現(xiàn)的幾起案子赋除,更是在濱河造成了極大的恐慌阱缓,老刑警劉巖,帶你破解...
    沈念sama閱讀 211,265評論 6 490
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件举农,死亡現(xiàn)場離奇詭異荆针,居然都是意外死亡,警方通過查閱死者的電腦和手機颁糟,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 90,078評論 2 385
  • 文/潘曉璐 我一進店門航背,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人棱貌,你說我怎么就攤上這事玖媚。” “怎么了婚脱?”我有些...
    開封第一講書人閱讀 156,852評論 0 347
  • 文/不壞的土叔 我叫張陵今魔,是天一觀的道長勺像。 經(jīng)常有香客問我,道長错森,這世上最難降的妖魔是什么咏删? 我笑而不...
    開封第一講書人閱讀 56,408評論 1 283
  • 正文 為了忘掉前任,我火速辦了婚禮问词,結(jié)果婚禮上督函,老公的妹妹穿的比我還像新娘。我一直安慰自己激挪,他們只是感情好辰狡,可當(dāng)我...
    茶點故事閱讀 65,445評論 5 384
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著垄分,像睡著了一般宛篇。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上薄湿,一...
    開封第一講書人閱讀 49,772評論 1 290
  • 那天叫倍,我揣著相機與錄音,去河邊找鬼豺瘤。 笑死吆倦,一個胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的坐求。 我是一名探鬼主播蚕泽,決...
    沈念sama閱讀 38,921評論 3 406
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼桥嗤!你這毒婦竟也來了须妻?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 37,688評論 0 266
  • 序言:老撾萬榮一對情侶失蹤泛领,失蹤者是張志新(化名)和其女友劉穎荒吏,沒想到半個月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體渊鞋,經(jīng)...
    沈念sama閱讀 44,130評論 1 303
  • 正文 獨居荒郊野嶺守林人離奇死亡绰更,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 36,467評論 2 325
  • 正文 我和宋清朗相戀三年,在試婚紗的時候發(fā)現(xiàn)自己被綠了篓像。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片动知。...
    茶點故事閱讀 38,617評論 1 340
  • 序言:一個原本活蹦亂跳的男人離奇死亡皿伺,死狀恐怖员辩,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情鸵鸥,我是刑警寧澤奠滑,帶...
    沈念sama閱讀 34,276評論 4 329
  • 正文 年R本政府宣布丹皱,位于F島的核電站,受9級特大地震影響宋税,放射性物質(zhì)發(fā)生泄漏摊崭。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點故事閱讀 39,882評論 3 312
  • 文/蒙蒙 一杰赛、第九天 我趴在偏房一處隱蔽的房頂上張望呢簸。 院中可真熱鬧,春花似錦乏屯、人聲如沸根时。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,740評論 0 21
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽蛤迎。三九已至,卻和暖如春含友,著一層夾襖步出監(jiān)牢的瞬間替裆,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 31,967評論 1 265
  • 我被黑心中介騙來泰國打工窘问, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留辆童,地道東北人。 一個月前我還...
    沈念sama閱讀 46,315評論 2 360
  • 正文 我出身青樓惠赫,卻偏偏與公主長得像胸遇,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子汉形,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 43,486評論 2 348

推薦閱讀更多精彩內(nèi)容

  • 初中二年級是孩子的關(guān)鍵時期凯旭,也是父母教育的關(guān)鍵時期。這一年使套,父母在哪些方面“使力”幫助孩子才最有效呢罐呼?看完這篇文章...
    江蘇家學(xué)寶閱讀 359評論 0 0
  • 2016年7月9日踏上了去青海的列車,我們這節(jié)車廂里全是去夏令營的中學(xué)生侦高。
    rabbitwithwings閱讀 122評論 0 0
  • 看一個時候嫉柴,發(fā)現(xiàn)了桃白白關(guān)于單身時光的想法,然后搜索到這篇文章的來源奉呛,繼而得知了簡書计螺。 我有博客夯尽,有微博,朋友圈和...
    車小朵閱讀 381評論 0 4
  • 瑪?shù)儆忠淮慰藜t了鼻子登馒。 她討厭只會哭的自己匙握,討厭軟弱的自己。 又一個黑夜來襲陈轿。 瑪?shù)俟o被子蒙住了頭圈纺,使這黑夜愈發(fā)...
    Su萱閱讀 235評論 0 1