Create nice and feasible volumetric cloud in Unreal Engine 4 | UE4之制作高端霸气的干冰体积雾

Summary

『知乎中文版点这里』

Making beautiful and feasible volumetric effects has been a trending topic for game development. Inspired by the Gears 5 tech talk and the good ol’ Guerrilla paper on cloudspaces, I decided to do my own take and created this fluffy dry ice fog using Volumetric Fog feature that comes with UE4.

Dry Ice Fog
https://twitter.com/Vuthric/status/1226257386131746817

This is done purely within Volumetric Fog and Volume Material systems, thus requires no low-level coding and supports various lighting feature within UE4.

Continue reading

Niagara实现procedural浪花

『部分工程文件点我下载』
『知乎转载链接』
『有点相关的Unreal Circle演讲』

Summary

因为本文涉及到的内容比较广,关于Niagara最基础的一些部分比如怎么新建、怎样添加使用模块就不详细说明了,没用过的同学可以先看一下Epic官方文档的介绍:
Niagara核心概念

和贾越同学的系列教学直播:
https://www.bilibili.com/video/av73602807

本次工程效果:

Continue reading

Made some fully procedural neon wings with #ue4niagara
Twitter Discussion | 中文直播讲解
Anime style death ray and smoke using #ue4niagara
Tried to mimic hand drawn elements with exaggerated physics and distance function. Got some pretty unique looks😈
Twitter Discussion | 中文技术讲座
Procedural wave splash generator made with #UE4Niagara and distance field. Pretty happy about it💓
Twitter Discussion | 中文解析文章
Energy armor shader
Twitter Discussion | 英文PPT
Continue reading

Perforce backup with rsync

First thing to know, I don’t really want to backup the entire perforce database since it’s huge and requires a lot of extra steps. I’m only backing up the latest version in case a doom fire happens to my apartment.
The scheduled backup is run on my p4 server A, in order to run a scheduled backup plan to push my newest project version to server B.

Create client(aka workspace) for the server A itself.

p4 -d `pwd` client -t Vuth_Auri -o Auri_Backup | p4 client -i
p4 client Auri_Backup

Then run a script in crontab.

51 * * * * bash /home/vuth/__backup/runBackup.sh

$cat runBackup.sh

p4 sync
rsync -rtz -e "ssh -p 1111 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /home/vuth/.ssh/id_rsa_somekey" /home/vuth/__backup/p4 vuth@123.123.123.123:/home/vuth/p4

First line get the latest version of your project to the workspace.
Second line runs rsync over a ssh connection to your remote server B.

And that’s it. Notice that this is incremental. You can add –delete to the rsync command to remove garbage from remote server B. I left it for extra safety.