일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 플러터
- C# delegate
- c# 추상 클래스
- gitlab
- vim
- Data Structure
- c# 윈폼
- 깃
- C++
- 포인터
- c언어
- c# winform
- 구조체
- jupyter
- Python
- c#
- jupyter lab
- Algorithm
- github
- HTML
- 도커
- git
- 유니티
- Unity
- 다트 언어
- C언어 포인터
- Flutter
- docker
- dart 언어
- Houdini
Archives
- Today
- Total
목록유니티 Lambert 셰이더 (1)
nomad-programmer
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/FuK01/btrqQdUbawl/iBO7gbPlGtAa8ZvfW7SEJK/img.png)
Shader "Custom/NewSurfaceShader" { Properties { _MainTex ("Albedo (RGB)", 2D) = "white" {} _BumpMap ("Bump Map", 2D) = "bump" {} } SubShader { Tags { "RenderType"="Opaque" } LOD 200 CGPROGRAM #pragma surface surf Test #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 = tex2D (_..
CG/Unity
2022. 1. 16. 21:36