-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvfx.html
More file actions
390 lines (337 loc) · 11.8 KB
/
vfx.html
File metadata and controls
390 lines (337 loc) · 11.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
<!DOCTYPE HTML>
<html>
<head>
<title>Kris' Portfolio Site</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
<noscript>
<link rel="stylesheet" href="assets/css/noscript.css" />
</noscript>
</head>
<body class="is-preload">
<!-- Wrapper -->
<div id="wrapper">
<!-- Header -->
<header id="header" class="alt">
<a href="index.html" class="logo"><strong>Kris'</strong> <span>Portfolio Site</span></a>
<nav>
<a href="#menu">Menu</a>
</nav>
</header>
<!-- Menu -->
<nav id="menu">
<ul class="links">
<li><a href="index.html">Home</a></li>
<li><a href="bio.html">About Meee</a></li>
<li><a href="https://www.instagram.com/kasumiii_art">Instagram</a></li>
<li><a href="mailto:krischen.nekolabs@gmail.com">Contact</a></li>
</ul>
<!-- <ul class="actions stacked">
<li><a href="#" class="button primary fit">Get Started</a></li>
<li><a href="#" class="button fit">Log In</a></li>
</ul> -->
</nav>
<!-- Main -->
<div id="main" class="alt">
<!-- One -->
<section id="one">
<div class="inner">
<header class="major">
<h1>VFX Assets</h1>
</header>
<h2 id="content">Introduction</h2>
<p>
The following work is to demonstrate my skills in Unity VFX Graph, mainly in four skill sets:
Particle Effects, Mesh Effects, SDF and User Interaction.
</p>
<div class="row">
<div class="col-8 col-12-small">
<h3>Pokemon Fireworks</h3>
<p>
It is a stylized firework that supports arbitrary patterns (not just Pokemon!) based on point cache.
Artists can easily adjust all properties including the pattern, color, speed, time of explosion and so on; and apply them in their work.
It mainly made up of four particle systems:
</p>
<ul>
<li>the main firework</li>
<li>the trail</li>
<li>the explosion pattern</li>
<li>the explosion trail</li>
</ul>
</div>
<div class="col-4 col-12-small">
<span class="image fit"><img
src="images/vfx/firework.gif" alt="" />
</span>
</div>
</div>
<h5>Step Breakdown </h5>
<div class="row">
<div class="col-3 col-12-small">
<span class="image fit"><img
src="images/vfx/fireworkstep0.gif" alt="" />
<div class="captionp">Add Firework Base</div>
</span>
</div>
<div class="col-3 col-12-small">
<span class="image fit"><img
src="images/vfx/fireworkstep1.gif" alt="" />
<div class="captionp">Add Firework Trail</div>
</span>
</div>
<div class="col-3 col-12-small">
<span class="image fit"><img
src="images/vfx/fireworkstep2.gif" alt="" />
<div class="captionp">Add Point Cache</div>
</span>
</div>
<div class="col-3 col-12-small">
<span class="image fit"><img
src="images/vfx/fireworkstep4.gif" alt="" />
<div class="captionp">Add Explosion Physics</div>
</span>
</div>
</div>
<hr>
<div class="row">
<div class="col-8 col-12-small">
<h3>Particle Mesh</h3>
<p>
It is a very common effect in games and actually a quite advanced feature combining mesh, rendering, animation and particles.
Using my workflow, artists can easily build this effect for all types of meshes and models and adjust the color, animation and duration.
The main components are:
</p>
<ul>
<li>Mesh Rendering</li>
<li>Mesh Animation</li>
<li>Parameterization & Control</li>
<li>Particle Trails</li>
</ul>
</div>
<div class="col-4 col-12-small">
<span class="image fit"><img
src="images/vfx/summon.gif" alt="" />
</span>
</div>
</div>
<h5>Step Breakdown </h5>
<div class="row">
<div class="col-3 col-12-small">
<span class="image fit"><img
src="images/vfx/summonstep0.gif" alt="" />
<div class="captionp">Add Model and Animation</div>
</span>
</div>
<div class="col-3 col-12-small">
<span class="image fit"><img
src="images/vfx/summonstep1.gif" alt="" />
<div class="captionp">Add Rendering</div>
</span>
</div>
<div class="col-3 col-12-small">
<span class="image fit"><img
src="images/vfx/summonstep2.gif" alt="" />
<div class="captionp">Add Decay Controller</div>
</span>
</div>
<div class="col-3 col-12-small">
<span class="image fit"><img
src="images/vfx/summonstep3.gif" alt="" />
<div class="captionp">Add Particles</div>
</span>
</div>
</div>
<hr>
<div class="row">
<div class="col-8 col-12-small">
<h3>Signed Distance Field (SDF)</h3>
<p>
Signed Distance Field is an advanced but very useful mathematical representation for objects.
We can achieve various stunning visual effects with high performance using SDF.
The famous GI solution:Limen in UE5 uses SDF for pseudo-ray tracing.
Here we demo a simple but appealing visual effects made in SDF.
The main components are:
</p>
<ul>
<li>SDF Baking</li>
<li>Sampling Particle Position from SDF</li>
<li>Force Field over SDF</li>
<li>Color and Trail sampled from SDF</li>
<li>SDF Transformation</li>
</ul>
</div>
<div class="col-4 col-12-small">
<span style="display: block;">
<video autoplay loop muted playsinline width="100%">
<source src="images/vfx/sdf.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</span>
</div>
</div>
<h5>Step Breakdown </h5>
<div class="row">
<div class="col-3 col-12-small">
<span class="image fit"><img
src="images/vfx/sdfstep0.png" alt="" />
<div class="captionp">Create SRC SDF</div>
</span>
</div>
<div class="col-3 col-12-small">
<span class="image fit"><img
src="images/vfx/sdfstep0.5.png" alt="" />
<div class="captionp">Create target SDF</div>
</span>
</div>
<div class="col-3 col-12-small">
<span class="image fit"><img
src="images/vfx/sdfstep1.gif" alt="" />
<div class="captionp">Sample Position from SDF</div>
</span>
</div>
<div class="col-3 col-12-small">
<span class="image fit"><img
src="images/vfx/sdfstep2.gif" alt="" />
<div class="captionp">Sample Color from SDF</div>
</span>
</div>
<div class="col-3 col-12-small">
<span style="display: block;">
<div class="video-container">
<video autoplay loop muted playsinline width="100%">
<source src="images/vfx/sdfstep3.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="captionv">Sample Force from SDF</div>
</div>
</span>
</div>
<div class="col-3 col-12-small">
<span style="display: block;">
<div class="video-container">
<video autoplay loop muted playsinline width="100%">
<source src="images/vfx/sdfstep4.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="captionv">Add Trails</div>
</div>
</span>
</div>
<div class="col-3 col-12-small">
<span style="display: block;">
<div class="video-container">
<video autoplay loop muted playsinline width="100%">
<source src="images/vfx/sdfstep5.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="captionv">Add SDF Transformation</div>
</div>
</span>
</div>
</div>
<hr>
<div class="row">
<div class="col-8 col-12-small">
<h3>Interactive VFX</h3>
<p>
Sometimes our VFX needs to have interaction with user inputs.
In the demo it shows a lightening ball following the mouse position from the user in real time.
</p>
<ul>
<li>Particle Interaction</li>
<li>Trail Interaction</li>
<li>Pseudorandom Functions (PRF) for Lightening</li>
</ul>
</div>
<div class="col-4 col-12-small">
<span class="image fit"><img
src="images/vfx/lightening.gif" alt="" />
</span>
</div>
</div>
<h5>Step Breakdown </h5>
<div class="row">
<div class="col-3 col-12-small">
<span style="display: block;">
<div class="video-container">
<video autoplay loop muted playsinline width="100%">
<source src="images/vfx/ltstep0.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="captionv">Create Constant Particle as core</div>
</div>
</span>
</div>
<div class="col-3 col-12-small">
<span style="display: block;">
<div class="video-container">
<video autoplay loop muted playsinline width="100%">
<source src="images/vfx/ltstep1.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="captionv">Set up mouse tracking</div>
</div>
</span>
</div>
<div class="col-3 col-12-small">
<span style="display: block;">
<div class="video-container">
<video autoplay loop muted playsinline width="100%">
<source src="images/vfx/ltstep3.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="captionv">Create Lightening Pattern with PRF</div>
</div>
</span>
</div>
<div class="col-3 col-12-small">
<span style="display: block;">
<div class="video-container">
<video autoplay loop muted playsinline width="100%">
<source src="images/vfx/ltstep4.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="captionv">Add lightening trace</div>
</div>
</span>
</div>
</div>
</div>
</section>
</div>
<!-- Footer -->
<footer id="footer">
<div class="inner">
<!-- <ul class="icons"> -->
<!-- <li><a href="#" class="icon brands alt fa-twitter"><span class="label">Twitter</span></a></li> -->
<!-- <li><a href="#" class="icon brands alt fa-facebook-f"><span class="label">Facebook</span></a></li> -->
<!-- <li><a href="#" class="icon brands alt fa-instagram"><span class="label">Instagram</span></a></li> -->
<!-- <li><a href="#" class="icon brands alt fa-github"><span class="label">GitHub</span></a></li> -->
<!-- <li><a href="#" class="icon brands alt fa-linkedin-in"><span class="label">LinkedIn</span></a></li> -->
<!-- </ul> -->
<ul class="copyright">
<li>© Kris Chen, 2023</li>
</ul>
</div>
</footer>
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/browser.min.js"></script>
<script src="assets/js/breakpoints.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
<script>
window.onload = function() {
var videoElement = document.getElementsByTagName('video');
// mobile video
if (window.innerWidth <= 800 && window.innerHeight <= 600) {
videoElement.setAttribute('controls', '');
}
}
</script>
</body>
</html>