# Part 05 | Shader Graph 기본 조작하기 1 : 색상 출력

## 01 Shader Graph 기본 사용법

Graph Inspector

* Node Setting : 현재 선택한 노드의 세팅을 보고 제어
* Graph Setting : 이 셰이더 전체의 세팅을 보고 제어. Lit, Unlit, 반투명, 알파 테스팅, 2side, Depth, Shadow 등 셰이더 전체 옵션 제어.

Node 생성 : 스페이스바, 또는 우클릭 > Create Node

![](https://velog.velcdn.com/images/biomatrix117/post/6bf44df1-ec86-41ed-923c-d887d4f511b5/image.png)

'Color를 만들어 Fragment의 Base Color로 출력한다'는 명령.

노드 만들고 색상 바꿀 때 Property와 연결해놓으면 머테리얼 Inspector에서 색상 선택 가능. 방법은 2가지.

* Property를 만들어 노드로 끌어와 연결하는 방법 : 드래그해서 노드로 만들어준 후 필요한 곳에 연결
* 만들어진 노드를 Property로 승격하는 방법 : 노드 우클릭 > Convert To > Property

## 02 색상 출력하기

한 자리 숫자(Float)를 어딘가에 연결하면 그 곳의 비어있는 모든 자리에 들어간다. 근데 두 자리 필요하면 두 자리를, 세 자리 필요하면 세 자리 넣는게 자연스럽고 안전하다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lazyartisan.gitbook.io/note/main-page/books/urp/part-05-or-shader-graph-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
