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



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

금별 0 3,176 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


번호 포토 분류 제목 글쓴이 날짜 조회
236 유니티 유니티 - 2d Raymarched Smoke 댓글+5 금별 2019.10.26 1640
235 유니티 유니티 - 스타게이트 효과 참고영상 금별 2019.10.29 3758
열람중 유니티 유니티 이펙트 팁 - 데스스트랜딩 홀로그램 효과 참고해 만들기 금별 2019.11.19 3177
233 유니티 유니티 쉐이더 팁 - Rime 스타일의 폭포 제작 댓글+2 금별 2019.11.26 3815
232 유니티 유니티 - Custom Vertex Stream and Shadergraph/Amplify Shader 금별 2019.12.29 5705
231 유니티 유니티 이펙트 팁 - 아주 간단히 보는 포털제작팁 댓글+1 금별 2020.02.10 1862
230 유니티 유니티 셰이더&렌더링 에센스(retr0) 금별 2020.02.16 1503
229 유니티 기적의 셰이더 그래프 '어떤 노드든 이해시켜 드립니다 금별 2020.02.18 3020
228 유니티 Converting some code shaders to ShaderGraph 댓글+3 금별 2020.02.27 1435
227 유니티 유니티 이펙트 팁 - RzFX Flow Trail in Unity 금별 2020.02.27 4004
226 유니티 유니티 - 마스크 디스토션 림 쉐이더그래프 금별 2020.03.05 3303
225 유니티 유니티 쉐이더 그래프 - 꼬여지는듯한 착각의 쉐이더 금별 2020.03.19 1929
224 유니티 유니티 쉐이더 그래프 - Orthographic 뎁스 금별 2020.03.26 1554
223 유니티 유니티 HDRP에서 소규모 고품질의 영상 제작 - Unite Tokyo 2019 금별 2020.03.29 1754
222 유니티 유니티 URP 쉐이더그래프 팁 - 블러만들기 금별 2020.04.01 5399
221 유니티 유니티 - 기어즈5 Hammer of Dawn 이펙트 만들기 댓글+1 금별 2020.05.16 1775
220 유니티 포토샵으로 디졸브 쉐이더를 사용해 2D 툰이펙트 제작팁 댓글+2 금별 2020.05.16 3777
219 유니티 유니티 앰플리파이 쉐이더 이펙트 - 물속성+불속성 토네이토 금별 2020.07.30 1948
218 유니티 유니티 - 매직 카드제작 트릭팁 금별 2020.08.02 2114
217 유니티 유니티 쉐이더그래프 - 노이즈 관련 이미지 팁 금별 2020.08.06 2641
216 유니티 유니티 VFX그래프 - 불타는 종이 이펙트 만들기 금별 2020.08.26 2625
215 유니티 유니티 - 발로란트형 쉴드 제작 VFX 브레이크다운 금별 2020.08.26 2517

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand