当前位置:网站首页>Unity's ASE realizes cartoon flame
Unity's ASE realizes cartoon flame
2022-07-07 15:06:00 【PassionY】
One . Preface
Generally, we realize the fire effect in the game , All through particle effects , Although the effect is good , But with particle effects , If there are too many particles , Will take up a lot of cpu performance , Even cause the frame to jam . So I'm going to use shader Achieve a flame effect , hold cpu Pressure transferred gpu Up . And it works better .
Look at the effect :
Two . Implementation logic
The realization of this effect is mainly divided into 3 Parts of
1. Realize the fluctuation effect of flame
Through a dot chart , Scale different sizes separately , Staggered upward translation , Realize the fluctuation effect of flame .
Then through a flame shape mask diagram , Get the basic shape of the flame 
2. adopt step function , Separate and color the inner flame from the outer flame . Get a colored flame .

3. Implement a gradient , Make the flame more realistic .

边栏推荐
- Compile advanced notes
- Summer safety is very important! Emergency safety education enters kindergarten
- 【服务器数据恢复】某品牌StorageWorks服务器raid数据恢复案例
- Navigation - are you sure you want to take a look at such an easy-to-use navigation framework?
- Ctfshow, information collection: web1
- leetcode 241. Different Ways to Add Parentheses 为运算表达式设计优先级(中等)
- Discussion on CPU and chiplet Technology
- Lidar knowledge drops
- Niuke real problem programming - Day11
- Apache多个组件漏洞公开(CVE-2022-32533/CVE-2022-33980/CVE-2021-37839)
猜你喜欢

CPU与chiplet技术杂谈

拜拜了,大厂!今天我就要去厂里

Yyds dry goods inventory # solve the real problem of famous enterprises: cross line

什么是数据泄露

Used by Jetson AgX Orin canfd

13 ux/ui/ue best creative inspiration websites in 2022

Ctfshow, information collection: web13
![[today in history] July 7: release of C; Chrome OS came out;](/img/a6/3170080268a836f2e0973916d737dc.png)
[today in history] July 7: release of C; Chrome OS came out; "Legend of swordsman" issued

CTFshow,信息搜集:web2

asp. Netnba information management system VS development SQLSERVER database web structure c programming computer web page source code project detailed design
随机推荐
CTFshow,信息搜集:web3
PAT 甲级 1103 Integer Factorizatio
Stm32cubemx, 68 sets of components, following 10 open source protocols
Ctfshow, information collection: web2
Delete a whole page in word
Pandora IOT development board learning (HAL Library) - Experiment 12 RTC real-time clock experiment (learning notes)
Classification of regression tests
回归测试的分类
buffer overflow protection
Introduction and use of Kitti dataset
众昂矿业:萤石继续引领新能源市场增长
Niuke real problem programming - day14
CTFshow,信息搜集:web1
CTFshow,信息搜集:web2
Unity之ASE实现卡通火焰
Es log error appreciation -trying to create too many buckets
Promoted to P8 successfully in the first half of the year, and bought a villa!
Pytorch model trains practical skills and breaks through the bottleneck of speed
Webrtc audio anti weak network technology (Part 1)
Niuke real problem programming - Day11