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



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

금별 0 5,275 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


번호 포토 분류 제목 글쓴이 날짜 조회
511 언리얼4 언리얼 - 구형 UV 활용 방법 금별 2023.06.17 2835
510 유니티 유니티 URP - 간단 바닥 화염 크랙 제작과정 금별 2023.06.12 2991
509 2D 섭스턴스 디자인 - 프로시졀 플레어 텍스쳐 제작과정 금별 2023.06.11 2196
508 언리얼4 언리얼5.2 - 체크무늬 바닥재질 만들기 금별 2023.06.09 2569
507 언리얼4 후디니/언리얼 - UI 플루이드 원형체력게이지 제작과정 금별 2023.06.08 2397
506 언리얼4 언리얼5 - 간단 메쉬표면 전기발생효과 제작방법 금별 2023.06.01 2950
505 언리얼4 언리얼5 - 간단 유도발사체 설정방법 금별 2023.06.01 2322
504 유니티 유니티 URP - 원신느낌의 Barbara의 치유 효과 만들기 금별 2023.06.01 3359
503 언리얼4 언리얼5 - High Quality Directionally animated FOG 금별 2023.05.31 2269
502 유니티 유니티 앰플리파이 쉐이더 - 쉐이더 활용 레이더 제작과정 금별 2023.05.25 2549
501 언리얼4 언리얼 - 물방울 형태 버프 이펙트 제작방법(물방울/십자 형태 텍스쳐제작) 금별 2023.05.25 2803
500 2D 포토샵 - 불/폭발/액체 그리는 방법 금별 2023.05.24 2707
499 유니티 유니티 쉐이더 그래프 URP - 에너지 쉴드 제작방법 금별 2023.05.22 3092
498 언리얼4 언리얼 - Smoothstep활용 프로시졀쉐이더 제작(2D 반지형 링) 금별 2023.05.18 3995
497 유니티 유니티 포스트프로세스 - 집중선 효과 제작과정 금별 2023.05.18 3339
496 유니티 유니티 앰플리파이 쉐이더 - 카툰풍 폭파 이펙트 제작방법(중국어) 금별 2023.05.15 3894
495 언리얼4 언리얼5 - 레벨에서 나이아가라 이펙트가 보이지 않을때 해결방법 금별 2023.05.15 3683
494 언리얼4 이펙터의 모든것! 게임이펙터 O/X 인터뷰 [신입~3년차] new 금별 2023.05.15 3695
493 언리얼4 Parallax Frost Material in UE5.2 Tutorial | Download Files ashif 2023.05.10 2297
492 언리얼4 언리얼 - 노출 변화화에 상관업이 이미시브 색상을 유지하는 방법 금별 2023.05.10 3556
491 유니티 유니티 쉐이더 팁 - 스텐실 버퍼를 활용한 카드형 포털 효과 금별 2023.05.10 3137
490 유니티 유니티 URP/HDRP - 스크린 공간·렌즈 플레어로 편하게 반짝 반짝 표현하기 금별 2023.05.08 4949

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand