유니티 이펙트 팁 - 데스스트랜딩 홀로그램 효과 참고해 만들기



유니티 이펙트 팁 - 데스스트랜딩 홀로그램 효과 참고해 만들기

금별 0 4,474 2019.11.19 20:48

(eVan님의 언리얼이펙트클래스정보 : https://cafe.naver.com/unrealfx/17165 )

 

 

 

 

 

I’m not sure if they had two parts inside the real game but I went like this:

 

First there is a 3d model somewhere in the world, viewed by a camera, rendering the result into a render texture. In this 3d model I have a special shader that will do the vertex noisy offset (which can be seen as transmission issues), and scanlines. Scanlines felt to be part of the 3d model, so I added them at this step.

3d model:

 

base_3dmodel

 

 

shader (the scanlines are messy, there should be a better way to do it) (big file, open it on another tab to zoom into it):

 

 

base_3dmodel_shader

 

The second part is the hologram itself. I use a simple quad with a custom shader on it. The shader will use the render texture as a base, and will put different things on top of it:

an outline (I think in DS they did it differently, as the line appears inside the 3d model as well)

color correction

while noise effect (I’m not sure about this one, in DS it looks like it’s also put on the 3d model)

chromatic aberration (which is not on DS, at least on this hologram, but I love doing it)

 

hologram

 

The outline is a multisampling of the texture with a small offset in 4 directions, that will give a thicker version of the texture, subtracting by the alpha of the base texture will give the outline.

 

 

float finalA = 0;
finalA += tex2D(_MainTex, uv + float2(offset, 0)).a;
finalA += tex2D(_MainTex, uv + float2(-offset, 0)).a;
finalA += tex2D(_MainTex, uv + float2(0, offset)).a;
finalA += tex2D(_MainTex, uv + float2(0, -offset)).a;
return saturate(finalA);

 

 

 

I put this on a custom expression node, as it avoids dealing with a lot of nodes.

 

 

For the chromatic I simply sample 3 times the texture with an offset and extract R G and B individually, then combine them and add it to the base texture. I also have a custom chromatic UV that is shifting with a mask I made, to add some variety on the effect.

 

 

 

 

The white noise is juste a noise texture panning randomly with a mask panning vertically that will remove a part of the noise.

 

Around that I made a simple hologram fake light, with a custom mesh and a custom texture:

fake_light_mesh

 

 

fake_light_mesh

 

 

There is also some “plus” floating in the air, I used a basic tiled texture with a simple shader that will shake the UV:

 

plus_pattern

 

 

Finally I used Cinemachine to add some fake random movement and add a bit of life, and made a animation to trigger everything for the last shot.

 

Feel free to ask me more questions if you want more details on a specific point.

 

 

 

 

Comments


번호 포토 분류 제목 글쓴이 날짜 조회
342 유니티 유니티 앰플리파이 셰이더 - 스텐실 크랙 간단 제작과정(한글자막) 금별 06.24 75
341 유니티 유니티 - Ground Effect와 검기 기초 제작가이드(한글자막) 금별 06.17 90
340 유니티 유니티 VFX[검기] : 검기 나비 VFX/Particle System과 Airflow 효과 제작가이드(한글자막) 금별 06.17 101
339 유니티 유니티 VFX[검기] : 검광과 화염 효과 제작 가이드(한글자막) 금별 06.17 64
338 유니티 유니티 VFX[검기] : 세 가지 검기(Sword Trail) 제작 기법 가이드(한글자막) 금별 06.17 88
337 유니티 유니티/맥스/포토샵 - 간단한 큐브 애니메이션 효과 제작예제(한글자막) 금별 05.30 978
336 유니티 유니티 - 그라디언트 맵으로 실시간 VFX 제작하기(한글자막) 금별 05.26 920
335 유니티 유니티 - 음률 리듬 VFX 제작 가이드(한글자막) 금별 05.20 917
334 유니티 유니티 - 별빛 VFX: 단계별 제작 가이드(한글자막) 금별 05.20 920
333 유니티 유니티 - Ice Cone과 Spike 제작 가이드(한글자막) 금별 05.20 903
332 유니티 유니티 - 입체 오각형/육각형 텍스처와 모델 제작 가이드(자막) 금별 05.20 901
331 유니티 유니티 - URP로 구현하는 후처리 VFX: 흑백 플래시와 화면 왜곡 제작팁 금별 05.18 942
330 유니티 유니티 - 컷신 VFX 워크플로우 예제 금별 03.23 1101
329 유니티 유니티 셰이더 그래프 - Cartoon 3D parallax 효과 제작과정 금별 03.03 1125
328 유니티 유니티 셰이더 그래프 - 간단한 Stylized 화염 트레일 제작과정(한글자막) 금별 03.03 1059
327 유니티 유니티 UI 앰플리파이 셰이더 - 패턴에 빛 스와핑 효과 제작예제 금별 02.21 1120
326 유니티 유니티 - 볼류메트릭 메쉬 VFX 모델링 머드번 활용예제 금별 02.21 1074
325 유니티 유니티 - 역동적인 디졸브활용 세계 변화 효과를 만드는 방법(한글자막) 금별 02.15 1056
324 유니티 유니티 셰이더 그래프 - 오디오 비주얼 스케일 효과 간단제작과정(한글자막) 금별 02.03 1123
323 유니티 유니티 - 원형 파동 패턴과 애니메이션 폴라코디네이트(한글자막) 금별 02.03 1149
322 유니티 유니티 셰이더 그래프 - 상호작용 조명 및 fake 볼류메트릭 연기 제작(한글자막) 금별 02.03 1125
321 유니티 유니티 앰플리파이 셰이더 - 페이크 뎁스를 사용한 VFX_Parallax Shader 활용과정(한글자막) 금별 02.03 1092

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand