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

边栏推荐
- Apache多个组件漏洞公开(CVE-2022-32533/CVE-2022-33980/CVE-2021-37839)
- 回归测试的分类
- Ctfshow, information collection: web14
- CTFshow,信息搜集:web14
- Andriod --- JetPack :LiveData setValue 和 postValue 的区别
- Used by Jetson AgX Orin canfd
- Comparable and comparator of sorting
- Ctfshow, information collection: web7
- 时空可变形卷积用于压缩视频质量增强(STDF)
- 一文读懂数仓中的pg_stat
猜你喜欢

【OBS】RTMPSockBuf_Fill, remote host closed connection.

CTFshow,信息搜集:web2

Unity之ASE实现卡通火焰
![[understanding of opportunity -40]: direction, rules, choice, effort, fairness, cognition, ability, action, read the five layers of perception of 3GPP 6G white paper](/img/38/cc5bb5eaa3dcee5ae2d51a904cf26a.png)
[understanding of opportunity -40]: direction, rules, choice, effort, fairness, cognition, ability, action, read the five layers of perception of 3GPP 6G white paper

CTFshow,信息搜集:web10

Stream learning notes

asp.netNBA信息管理系统VS开发sqlserver数据库web结构c#编程计算机网页源码项目详细设计

CTFshow,信息搜集:web3
![[server data recovery] data recovery case of raid failure of a Dell server](/img/5d/03bc8dcc6e554273b34a78c49a9eaf.jpg)
[server data recovery] data recovery case of raid failure of a Dell server

Jetson AGX Orin CANFD 使用
随机推荐
CTFshow,信息搜集:web6
asp.netNBA信息管理系统VS开发sqlserver数据库web结构c#编程计算机网页源码项目详细设计
简述keepalived工作原理
CTFshow,信息搜集:web3
【數據挖掘】視覺模式挖掘:Hog特征+餘弦相似度/k-means聚類
⼀个对象从加载到JVM,再到被GC清除,都经历了什么过程?
CTFshow,信息搜集:web8
Bye, Dachang! I'm going to the factory today
Ctfshow, information collection: web4
What is the process of ⼀ objects from loading into JVM to being cleared by GC?
Today's sleep quality record 78 points
【服务器数据恢复】戴尔某型号服务器raid故障的数据恢复案例
Bill Gates posted his resume 48 years ago: "it's not as good-looking as yours."
Andriod --- JetPack :LiveData setValue 和 postValue 的区别
数学建模——什么是数学建模
CTFshow,信息搜集:web14
Infinite innovation in cloud "vision" | the 2022 Alibaba cloud live summit was officially launched
Ctfshow, information collection: web2
Concurrency Control & NoSQL and new database
Niuke real problem programming - Day12