包含11節(jié)視頻教程
從零基礎(chǔ)學(xué)習(xí)unity3d游戲引擎,簡(jiǎn)單易學(xué)的視頻教程,讓你快速掌握unity3d,并喜歡上游戲開(kāi)發(fā)的樂(lè)趣。
![]()
|
![]() Lens Flares simulate the effect of lights refracting inside camera lens. They are used to represent really bright lights or, more subtly, just to add a bit more atmosphere to your scene. 鏡頭光暈 模擬相機(jī)鏡頭內(nèi)的折射光線的效果。它們被用來(lái)代表真正的明亮的燈光,更微妙的是,可以在你的場(chǎng)景添加多一點(diǎn)的氣氛。
The easiest way to setup a Lens Flare is just to assign the Flare property of the Light. Unity contains a couple of pre-configured Flares in the Standard Assets package. 建立鏡頭光暈 最簡(jiǎn)單的方法 是 指定光線(Light)的光暈屬性( Flare property)。Unity在Standard Assets package.包含了一些預(yù)設(shè)的光暈(Flares)資源。 Otherwise, create an empty GameObject with GameObject->Create Empty from the menu bar and add the Lens Flare Component to it with Component->Rendering->Lens Flare. Then and choose the Flare in the Inspector. 否則,按照以下步驟: 1. 從菜單欄依次 GameObject - >Create Empty? 來(lái)創(chuàng)建一個(gè)空的游戲?qū)ο?GameObject) 2. 再Component->Rendering->Lens Flare 給這個(gè)空的游戲?qū)ο?GameObject)添加 鏡頭光暈組件(Lens Flare?Component) 3.最后在檢視面板選擇光暈(Flare) To see the effect of Lens Flare in the Scene View, check the Fx button in the Scene View toolbar: 想要在場(chǎng)景視圖中看到鏡頭光暈的效果,選上場(chǎng)景視圖工具欄中的Fx按鈕。
Properties 屬性
Details 詳情You can directly set flares as a property of a Light Component, or set them up separately as Lens Flare component. If you attach them to a light, they will automatically track the position and direction of the light. To get more precise control, use this Component. 你可以直接將光暈設(shè)置為光線組件(?Light?Component)的屬性,或者獨(dú)立地在鏡頭光暈組件(Lens Flare component.)建立他們。如果你把它們貼在一個(gè)光線上,他們會(huì)自動(dòng)跟蹤光線的位置和方向。使用這個(gè)組件,得到更精確的控制 。 A Camera has to have a Flare Layer Component attached to make Flares visible (this is true by default, so you don't have to do any set-up). 相機(jī)(Camera?)貼有光暈層組件(Flare Layer Component)?使光暈可見(jiàn)(這是真的,默認(rèn)情況下,因此你不需要做任何設(shè)置)。 Hints 提示
贊0 踩0 |
![]()
|
![]() 同問(wèn) 一切才剛剛開(kāi)始
贊0 踩0 |
![]()
|
![]() 請(qǐng)問(wèn)在Scence有顯示光暈 但在Game不顯示 要怎么解決? 贊0 踩0 |
未知用戶
2005-2025 朱峰社區(qū) 版權(quán)所有 遼ICP備2021001865號(hào)-1
2005-2025 ZhuFeng Community All Rights Reserved
VIP