전체 글
-
[ue5] Linear Interpolate 노드 Lerp언리얼엔진5 2023. 7. 14. 13:04
엄청 많이 활용되는 ㄴ ㅗ드중 하나인 Lerp노드에 대해서알아보자.. Lerp노드는 다른 색깔이나 값을 레이어링할때 사용하는 노드이다. 이 노드를 활용하여 포토샵처럼 컬러를 레이어링해 쌓을수있다. M_Layer라는 새로운 머티리얼을 만들어주었음 여기서 Lerp를 사용하할건데 위에서 말한것처럼 Lerp는 A와 B를 블렌딩해주는 역할임.. Alpha채널을 활용해서. 넣어주는 Alpha맵대로 A와 B가 섞인다 이말임 알파가 블랙이면 A채널을 화이트면B채널을 사용함 저 원 이미지가 바로 알파맵이 될것임. ㅇ unlit 해제하고 lit로 보니깐 이렇게 정상적으로보임~! 머티리얼ㅇ ㅣㄴ스턴스 만들어서 큐브에 넣어주자 그런테 텍스쳐링메소드를바꿀수도있음 원래는 Wrap으로되어있었는데 Clamp모드로바꾸면 오프셋으로 원..
-
-
-
[ue5] 블루프린트를 활용해 낮/밤 모드 변경하기카테고리 없음 2023. 7. 12. 12:21
레벨 블루프린트를 여기서 활용한다. 일단 씬 내의 모든 오브젝트들이 적절하게 분리되어서 레벨에 넣어져있는상태. 낮 조명 오브젝트들은 lighting에 들어있고 밤 조명 오브젝트들은 nightlight에 들어있다. 낮 조명이 기본으로 로드되는 중이고 밤 조명은 blueprint로 조절되는 중. 이것을 바꾸고싶다면 레벨 아웃라이너에서 Changing Streaming Method를 바꿔주면된다. 지금은 낮조명이 기본으로 스트림이되고 밤조명은 블루프린트로 불러올때만 로딩이되는상태. 레벨 블루프린트를 열면 익숙한 그 그래프창이 뜸. keyboard F 노드를 열어 추가하고 그 뒤로는 키보드 f를 눌렀을때 실행되는 명령을 만들어줄수있음. Flipflop노드는 누를때마다 A또느ㅜㄴ B 바꿔가면서 번갈아가며 실행되는..
-
[ue5] HDRI 머티리얼 만들어서 사용하기언리얼엔진5 2023. 7. 12. 10:46
Mip Gen Settings : NoMipmaps로 해주면 LOD를 사용하지 않겠다는 뜻 늘~ 최고화질로 렌더링을 하게따.. 그런의미인가? Compression settings: HDR 로 선택하고 sRGB 체크해제. 뭔지모르지만 이세팅으로 일단 밤 하늘 세팅을 준비 머티리얼 하나 새로만들고 M_Hdri라고 이름붙여줌 Shading Model: Unlit으로 설정하고 스칼라 파라미터 만들어서 텍스쳐샘플과 multiply해준다음 emissive에넣어준다. 그리고 처음보는 ㄴ노드 두개 넣어줌. world position과 rotate about axis 맵. rotate about axis는 이름에서 알수있다시피 축을 중심으로 회전시키는 노드. 우리는 이 hdri이미지를 z축을 중심으로 회전시킬거임. 그러..