当前位置:网站首页>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 .

边栏推荐
- 拜拜了,大厂!今天我就要去厂里
- IDA pro逆向工具寻找socket server的IP和port
- Emqx 5.0 release: open source Internet of things message server with single cluster supporting 100million mqtt connections
- Ctfshow, information collection: web10
- leetcode 241. Different Ways to Add Parentheses 为运算表达式设计优先级(中等)
- Infinite innovation in cloud "vision" | the 2022 Alibaba cloud live summit was officially launched
- C 6.0 language specification approved
- TypeScript 发布 4.8 beta 版本
- Es log error appreciation -trying to create too many buckets
- What is the process of ⼀ objects from loading into JVM to being cleared by GC?
猜你喜欢

什么是数据泄露

Win10 or win11 taskbar, automatically hidden and transparent

IDA pro逆向工具寻找socket server的IP和port
![[机缘参悟-40]:方向、规则、选择、努力、公平、认知、能力、行动,读3GPP 6G白皮书的五层感悟](/img/38/cc5bb5eaa3dcee5ae2d51a904cf26a.png)
[机缘参悟-40]:方向、规则、选择、努力、公平、认知、能力、行动,读3GPP 6G白皮书的五层感悟

Stream learning notes

Navigation - are you sure you want to take a look at such an easy-to-use navigation framework?

C 6.0 language specification approved

CTFshow,信息搜集:web7

Pinduoduo lost the lawsuit, and the case of bargain price difference of 0.9% was sentenced; Wechat internal test, the same mobile phone number can register two account functions; 2022 fields Awards an

【服务器数据恢复】戴尔某型号服务器raid故障的数据恢复案例
随机推荐
数学建模——什么是数学建模
Shengteng experience officer Episode 5 notes I
Compile advanced notes
Bits and Information & integer notes
什么是数据泄露
什么是pv和uv? pv、uv
MySQL installation configuration 2021 in Windows Environment
Delete a whole page in word
激光雷達lidar知識點滴
CPU与chiplet技术杂谈
Concurrency Control & NoSQL and new database
Stream learning notes
[today in history] July 7: release of C; Chrome OS came out; "Legend of swordsman" issued
Ctfshow, information collection: web12
"Baidu Cup" CTF competition 2017 February, web:include
Pinduoduo lost the lawsuit, and the case of bargain price difference of 0.9% was sentenced; Wechat internal test, the same mobile phone number can register two account functions; 2022 fields Awards an
Today's sleep quality record 78 points
CTFshow,信息搜集:web5
Apache multiple component vulnerability disclosure (cve-2022-32533/cve-2022-33980/cve-2021-37839)
CTFshow,信息搜集:web9