언리얼4 - 리퀴드 이로이젼(침식) 효과



언리얼4 - 리퀴드 이로이젼(침식) 효과

금별 0 5,129 2020.03.12 18:36

 

Liquid Erosion

 

 

I'm using Blenders "Dynamic Paint Canvas" to capture a liquid getting splashed on a surface over time resulting in an image sequence of "wet maps". To combine them into one image (adding then on top of eachother) I wrote a Python Script which generates an "erosion map". With a simple SmoothStep-Material, this map can be used to fade the liquid in/out nicely.

My python script: https://www.dropbox.com/s/x35wuxxtl7epesk/createErosionTexture.py?dl=0

Base-Idea described in this Sea of Thieves Talk: https://youtu.be/KxnFr5ugAHs?t=658

I was inspired by a FLIP Fluid Tutorial: https://youtu.be/GYGNoTmZSN0

How to setup an erosion material: https://realtimevfx.com/t/what-is-your-alpha-opacity-mask-clip-erode-animation-workflow-like/7705/15?u=simonschreibt

Quickly render Normal Map from Blender: https://youtu.be/h24akA8K-40

 

 

 

A liquid which appears over time based on an erosion map. The wetness on the ground is a 2nd erosion map with Blenders Canvas-"Spread" enabled.
The base-technique was discussed in this great Sea of Thieves Talk: https://youtu.be/KxnFr5ugAHs?t=658

A liquid which appears over time based on an erosion map. The wetness on the ground is a 2nd erosion map with Blenders Canvas-"Spread" enabled.

The base-technique was discussed in this great Sea of Thieves Talk: https://youtu.be/KxnFr5ugAHs?t=658

 

 

 

I used a Blender FLIP Plugin for the liquid and Blenders "Dynamic Paint Canvas" which "tracks" everything it touches - in this case the liquid. The result is an image-sequence. I baked a 2nd image-sequence where the wetness is spreading.

I used a Blender FLIP Plugin for the liquid and Blenders "Dynamic Paint Canvas" which "tracks" everything it touches - in this case the liquid. The result is an image-sequence. I baked a 2nd image-sequence where the wetness is spreading.

 

 

 

I wrote a Python-Script which grabs all the images and stacks them on top of eachother into ONE image which is now my erosion map. With a simple shader those grayscale values can be faded on/out nicely.

I wrote a Python-Script which grabs all the images and stacks them on top of eachother into ONE image which is now my erosion map. With a simple shader those grayscale values can be faded on/out nicely.

 

 

 

 

Here you can see the textures and some "gotchas". The normal map was created via Photoshop-Filter from the last rendered Blender-Frame.

Here you can see the textures and some "gotchas". The normal map was created via Photoshop-Filter from the last rendered Blender-Frame.

 

 

 

 

The pretty simple material. Of course, values like "base color" are different in my Material Instance for the final look.

The pretty simple material. Of course, values like "base color" are different in my Material Instance for the final look.

 

 

Update: Bruno had a great idea! Here is the result, you can find a detailed description below.

Update: Bruno had a great idea! Here is the result, you can find a detailed description below.

 

 

Brunos cool idea: Instead of the complex canvas/python-experiement, you can use a camera capturing the zDepth liquid-geometry from below. I used a B/W-Gradient to simulate the depth in my test and it worked out really nice.

 

Brunos cool idea: Instead of the complex canvas/python-experiement, you can use a camera capturing the zDepth liquid-geometry from below. I used a B/W-Gradient to simulate the depth in my test and it worked out really nice.

 

Comments


번호 포토 분류 제목 글쓴이 날짜 조회
491 유니티 유니티 쉐이더 팁 - 스텐실 버퍼를 활용한 카드형 포털 효과 금별 2023.05.10 3762
490 유니티 유니티 URP/HDRP - 스크린 공간·렌즈 플레어로 편하게 반짝 반짝 표현하기 금별 2023.05.08 6143
489 유니티 유니티 앰플리 - 웨이브 디폼 형태의 옷가락 날리는 효과 구현 예제 금별 2023.05.08 3845
488 유니티 유니티 앰플리 - 붕괴 스타레일류 빨려들어가는 트랜지션효과 간단구현 금별 2023.05.08 6933
487 유니티 유니티 - 불,얼음,전기 속성 텍스쳐 구성 팁 금별 2023.05.08 5641
486 유니티 유니티 VFX 그래프 - Six-way lighting workflow new 금별 2023.05.04 3711
485 언리얼4 언리얼5 퀵팁 - VFX 아티스트들이 가장 많이 사용하는 5가지 UV 트릭 금별 2023.05.04 3457
484 언리얼4 언리얼5 퀵팁 - 텍스쳐를 나선형으로 만들기(polar coordinates) 금별 2023.05.04 4433
483 언리얼4 언리얼 - Drawing Locations to a Render Target 금별 2023.05.04 2509
482 2D 포토샵 - 간단한 노이즈 3종 제작방법 금별 2023.05.02 5782
481 2D 포토샵 - 간단한 플레어 텍스쳐 제작방법 금별 2023.05.02 2732
480 2D 포토샵 - 간단한 빔텍스쳐 제작방법 금별 2023.05.02 2831
479 2D 포토샵 - 간단한 소용돌이 형태 텍스쳐 제작방법 금별 2023.05.02 3745
478 2D 포토샵 - 플레임 히트 텍스쳐 제작방법 금별 2023.05.02 2892
477 유니티 유니티 - 패럴랙스 맵핑을 활용한 데칼제작 예제 금별 2023.05.02 3563
476 유니티 유니티 - 간단 번개 제작방법 금별 2023.04.30 4703
475 언리얼4 언리얼 - 수중 커스틱스 효과 제작방법 금별 2023.04.25 3013
474 언리얼4 언리얼5 - 나이아가라 활용 캐릭에 라이트닝 효과 제작방법 금별 2023.04.25 2420
473 언리얼4 언리얼5 - 뎁스감 있는 레이마칭 텍스쳐 활용 예제 금별 2023.04.24 3166
472 언리얼4 언리얼 5.2 - Crystal, Ice, Gemstone 머트리얼 제작 튜토리얼 금별 2023.04.24 2661
471 언리얼4 언리얼 - 간단 폭포 제작 팁 금별 2023.04.22 3917
470 언리얼4 언리얼5 - HLSL 코드 활용 채널 옵셋 효과 예제(RGB 디더링) 금별 2023.04.21 3441

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand