Unity또는 Unreal 처럼 게임엔진을 사용하게 된다면 기본적으로 

원하는 LookDev구현을 위해 기본적으로 지원되는 Lit 또는 Standrad Material (PBR기반)를 사용할 것이다.

 

물론 많은 것을 지원해주지만 디테일한 LookDev 구현 및 FX, 장면 전환 등의 효과를 만들기 위해서는

지원되는 Material에서는 한계가 분명하며 결국 직접 구현을 하게 된다!
*까짓거 내가 만들어야지!!! 하고 만들어서 보고올려서 컨펌이 나기 시작하면 그때 부터 TA의 시작인 것이다.

이 글은 그렇게 시작하게된 글쓴이의 시작이자 앞으로 Shader를 작성하게 될 분들을 위해 바친다.

*한국 유니티 커뮤니티의 빛과 소금이 신 이상윤님과 마둠파, 대마왕님께 감사인사를 전하고싶습니다.

 

입문 편이기 때문에 Node로 제작하는 파이프라인에 관련된 설명을 하고자 하며,
파이프라인과 HLSL 코드의 경우 차후 글을 작성하고자 한다.

 

 

 

 

1. Unity Shader Graph

라때에는 3D(Legucy)에서 Code로 작성하거나 별도 플러그인을 활용하는 것 밖에 방법이 없엇어~~~ 라고 말하고싶다

이러한 니즈를 Unity 개발자 분들께서 인지하셔서 내부 파이프라인으로 만들어진 Node 기반 Shader 작성 툴이다.

Unity에서 만들었기 때문에 대부분의 기능을 조금만 공부한다면 누구나 다 사용할 수 있을 정도로 친절하게 되어있으며,

이를 통해 전체적인 로직에 대한 이해도를 높이고 그 다음에 코드로 넘어가는 것이 정신 건강에 이로울 수 있다고 생각한다.

 

기본 로직은 Unity에서 제공하는 HLSL를 임포트 받아 사용하기 때문에 커스텀한 부분을 아주 손쉽게 사용할 수 있다.

전체 Node에 대한 설명을 하기에는 분량이 방대하여

 

다시 등장하는 빛과 소금이신 고라니 님의 유투브 링크를 빌려 오고자 한다.
*10번 다시봐도 너무 좋은 자료다.

 

https://www.youtube.com/watch?v=KnueAgpUL3Y&t=1s&pp=ygUW6rOg652864uIIFVuaXR5IFNoYWRlcg%3D%3D

 

Unity Shader Graph의 경우 단순 Node를 사용하는 방법 뿐만 아니라

기본적인 Code 작성이 가능하다면 Custom Funsion을 활용하여 Custom Node를 작성할 수 있다.

 

 

2. Amplify Shader Graph

3D(Legucy) Pipe line에서 Node 기반 Shader를 작성할 수 없을때 주로 사용했던 플러그 인이며,
지금도 빠른 구현을 위해서 사용하기도 한다. 자료가 방대하며 Shader Graph 와 다르게 디테일한 설정 패널이 노출 되어 있다는게 특징이다
*필자는 Shader Graph에서 작성한 특정 Shader에 오류가 발생되면 사용하는 편이다.
*과거 Shader Graph가 없고 Shader Forge의 개발 종료가 발표되었을때 빛과 소금 그 자체 였다.

 

-----------------------------------------------------------------------------------------------------------------------------------------------------------------

 

두 Node Shader Editor의 경우 Unity의 모든 Pipe Line을 지원하며 사용자의 편의성에 따라 사용하는 것을 추천하며,

많이 만들어보는 것을 추천한다.

 

노드기반의 프로그램은 방대하게 경험해보는 것이 성장의 발판이라고 생각한다.

 

 

3. Node Shader 참고 자료

https://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Nodes

 

Unity Products:Amplify Shader Editor/Nodes - Amplify Creations Wiki

From Amplify Creations Wiki Jump to navigation Jump to search Product Page - Included Shaders - Manual - Shader Functions - Tutorials - API - Shader Templates - Scriptable Rendering Pipeline - Nodes - Community Nodes Available Node Categories Camera And Sc

wiki.amplify.pt

 

https://www.youtube.com/watch?v=KnueAgpUL3Y&t=1s

 

https://www.youtube.com/@BenCloward

 

Ben Cloward

This channel focuses on shader creation and other game development tips and tricks in Unity and Unreal. Subscribe and ring the bell to receive notifications when new videos are added! My opinions are my own and do not represent the positions of my employer

www.youtube.com

 

https://www.youtube.com/@madumpa2078

 

Madumpa

 

www.youtube.com

 

https://www.youtube.com/@danielilett/videos

 

Daniel Ilett

I’m Daniel, and I make games. On this channel, I make game development and shader tutorials for Unity, focusing on Shader Graph and the Universal Render Pipeline. Whether you’re looking for general effects like Holograms, Dissolving Objects and Outline

www.youtube.com

 

https://www.youtube.com/watch?v=XeKNHgdVkRE&list=PL83m62O3BixDYO48vZaIB_AsstJwm9KaU

 

https://www.youtube.com/@PolyToots/videos

 

PolyToots

Welcome to PolyToots! This is a tutorial channel for the creation of real time game art. From the perspective of a professional games artist who’s been pushing polys in the industry since mid 2008. Looking to get into the games industry? Already in the i

www.youtube.com

 

등등등 많은 강의가 있다.

위에서 언급하였지만 많이 만들어 보는 것이 중요하다.

 

입문을 통해 Node와 친해지게 된다면 그때부터 Code의 해석이 가능해지며,

TA의 시작이 진행된다.
*물론 TA는 Shader 작성만 한다고 할 수 있는 것은 아니다... DCC Tool R&D라든지,,, 최적화라든지,,, Pipe Line Custom 이라든지,,,

+ Recent posts