일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- c# winform
- 유니티
- jupyter
- C언어 포인터
- C++
- 깃
- Python
- docker
- c# 윈폼
- 구조체
- Houdini
- 포인터
- c언어
- github
- 다트 언어
- git
- c#
- c# 추상 클래스
- gitlab
- vim
- C# delegate
- Algorithm
- Data Structure
- 플러터
- 도커
- dart 언어
- Flutter
- HTML
- Unity
- jupyter lab
Archives
- Today
- Total
05-16 01:30
목록Lambert 셰이더 (1)
nomad-programmer
[CG/Unity] Lambert 셰이더
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