https://github.com/if1live/glsl_example
셰이더 프로그래밍 입문 for GLSL
https://github.com/if1live/glsl_example
Last synced: about 2 months ago
JSON representation
셰이더 프로그래밍 입문 for GLSL
- Host: GitHub
- URL: https://github.com/if1live/glsl_example
- Owner: if1live
- Created: 2013-04-22T13:29:28.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-15T12:14:51.000Z (about 11 years ago)
- Last Synced: 2025-03-24T18:11:43.453Z (2 months ago)
- Language: C++
- Homepage: http://libsora.so/glsl_example/
- Size: 5.85 MB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 셰이더 프로그래밍 입문 for GLSL
[셰이더 프로그래밍 입문](http://www.hanb.co.kr/book/look.html?isbn=978-89-7914-949-4)을 참고해서 예제를 GLSL로 구현한 소스입니다. Shadow Mapping의 경우는 [ShadowMapping with GLSL][fabiensanglard]를 참고해서 구현했습니다.
## Build
1. ```cmake .```를 실행
2. ```haruna_exe```를 실행 프로젝트로 설정
4. Color Conversion, Edge Detection의 경우는 실행중에 1/2/3 을 눌러서 모드를 바꿀 수 있다.## Screen Shot / Video
### GLSL Color Shader Example
[Video](http://youtu.be/UXAQF222bhQ)
### GLSL Texture2D Mapping
[Video](http://youtu.be/FujIAOStZ54)
### GLSL Lighting Example
[Video](http://youtu.be/WYu2eOt7TSM)
### GLSL Diffuse/Specular Mapping Example
[Video](http://youtu.be/xZ3KtjtmWLw)
### GLSL Toon Shader Example
[Video](http://youtu.be/bLChCT_nzuU)
### GLSL Normal Mapping Example
[Video](http://youtu.be/kz0rjRE7AKU)
### GLSL Environment Mapping Example
[Video](http://youtu.be/kz0rjRE7AKU)
### GLSL UV Animation Example
[Video](http://youtu.be/9-J4WDu-BfU)
### GLSL Shadow Mapping Example
[Video](http://youtu.be/g1dlrTpxYIc)
### GLSL Color Conversion Example
Default / Gray / Sepia[Video](http://youtu.be/Bttrulb0KfQ)


### GLSL Edge Detection Example
Default / Edge Detection / Emboss[Video](http://youtu.be/kpPKTpR0Z3A)


## Reference
* [셰이더 프로그래밍 입문][pope_book]
* [ShadowMapping with GLSL][fabiensanglard]
* [iPhone 3D Programming][iphone3d]## Changelog
* 2013/09/05 : cmake 리펙토링. glfw3로 버전 올림. 기타 자잘한 수정. cross platform 가능한거같은 기분이 들게 수정(...)
* 2013/04/27 : 최초 Release[pope_book]: http://www.hanb.co.kr/book/look.html?isbn=978-89-7914-949-4
[fabiensanglard]: http://fabiensanglard.net/shadowmapping/index.php
[iphone3d]: http://ofps.oreilly.com/titles/9780596804824/