셰이더 프로그래밍 입문 for GLSL
셰이더 프로그래밍 입문을 참고해서 예제를 GLSL로 구현한 소스입니다. Shadow Mapping의 경우는 ShadowMapping with GLSL를 참고해서 구현했습니다.
Build
-
cmake .를 실행 -
haruna_exe를 실행 프로젝트로 설정 - Color Conversion, Edge Detection의 경우는 실행중에 1/2/3 을 눌러서 모드를 바꿀 수 있다.
Screen Shot / Video
GLSL Color Shader Example

GLSL Texture2D Mapping

GLSL Lighting Example

GLSL Diffuse/Specular Mapping Example

GLSL Toon Shader Example

GLSL Normal Mapping Example

GLSL Environment Mapping Example

GLSL UV Animation Example

GLSL Shadow Mapping Example

GLSL Color Conversion Example
Default / Gray / Sepia


GLSL Edge Detection Example
Default / Edge Detection / Emboss


Reference
Changelog
- 2013/09/05 : cmake 리펙토링. glfw3로 버전 올림. 기타 자잘한 수정. cross platform 가능한거같은 기분이 들게 수정(...)
- 2013/04/27 : 최초 Release