Difference between revisions of "Tutorials"
From KlayGE
Gongminmin (Talk | contribs) |
(No difference)
|
Revision as of 01:03, 24 October 2012
Note
Before running these samples for the first time, it's recommended to run KGEConfig, which is provided by KlayGE, to complete the configuration first.
Distance mapping
Distance mapping from chapter 8 of GPU Gems 2. In pixel shader, precomputed distance field is used to do local sphere ray tracing. The extension here is the silhouette can be presented well.
Techniques
- Distance mapping
- Silhouette detection
- Normal map compression (since 3.4.0)
Requirements
- Geforce FX+ or Radeon 9500+. Geforce 6+ recommended.
Rendering plugin supported
- D3D11/OpenGL/OpenGLES2.
Fractal
Calculate fractal on GPUs.
Techniques
- Ping-pong buffers
Requirements
- Geforce FX+ or Radeon 9500+. Geforce 6+ recommended.
Rendering plugin supported
- D3D11/OpenGL/OpenGLES2.
Refract
Refraction rendering. Fresnel and dispersion are supported.
Techniques
- Reflection, refraction and fresnel
- Dispersion
- HDR rendering
- Tone mapping
- HDR texture compression
- Dual face refraction
Requirements
- Geforce FX+ or Radeon 9500. Geforce 6+ recommended.
Rendering plugin supported
- D3D11/OpenGL/OpenGLES2.
Vertex displacement
Calculate position and normal displacement in vertex shader.
Techniques
- Vertex displacement
- Directly compute normal by derivative function.
Requirements
- Geforce 4 Ti+ or Radeon 9200+.
Rendering plugin supported
- D3D11/OpenGL/OpenGLES2.