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

Warped Diffuse 기법은 가볍고도 응용이 편리해서 지금도 많이 사용되는 기법이다. 이 기법의 핵심 구현 기법은 빛 계산으로 쓰는 공식인 노멀과 라이트 벡터의 내적을 UV로 이용한다는 것이다. Shader "Custom/NewSurfaceShader" { Properties { _MainTex ("Albedo (RGB)", 2D) = "white" {} _RampTex ("RampTex", 2D) = "white" {} } SubShader { Tags { "RenderType"="Opaque" } LOD 200 CGPROGRAM #pragma surface surf Warp noambient #pragma target 3.0 sampler2D _MainTex; sampler2D _RampTex;..
CG/Unity
2022. 2. 1. 18:28