일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 구조체
- dart 언어
- Houdini
- 플러터
- 포인터
- c# 윈폼
- jupyter lab
- 다트 언어
- C언어 포인터
- 깃
- c# winform
- C++
- c# 추상 클래스
- C# delegate
- Unity
- jupyter
- docker
- Python
- git
- vim
- 유니티
- gitlab
- 도커
- Algorithm
- Flutter
- HTML
- github
- c언어
- c#
- Data Structure
Archives
- Today
- Total
05-15 13:20
목록unity toon shader (1)
nomad-programmer
[CG/Unity] Toon Shader
Shader "Custom/NewSurfaceShader" { Properties { _MainTex ("Albedo (RGB)", 2D) = "white" {} _BumpMap ("NormalMap", 2D) = "bump" {} } SubShader { Tags { "RenderType"="Opaque" } LOD 200 CGPROGRAM #pragma surface surf Toon Lambert #pragma target 3.0 sampler2D _MainTex; sampler2D _BumpMap; struct Input { float2 uv_MainTex; float2 uv_BumpMap; }; void surf (Input IN, inout SurfaceOutput o) { fixed4 c =..
CG/Unity
2022. 2. 1. 18:25