OpenGL 3 and OpenGL 4 with GLSL

时间:2024-11-03 20:05:08

Here are some OpenGL samples with advance features. NeHe OpenGL tutorial focus on the OpenGL fixed pipeline, but those samples are foucs on the programmable renderering pipeline, OpenGL shader language. With such shader language, we could easily controll how object apperance will be, and get some fatsitc image that could not by achieve by the fixed pipeline. Those samples is a good start point to explore OpenGL advanced features or take them as manual as you wish:

OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL
Example01 - Basic window and OpenGL 3 initialization Example02 - Rendering of a triangle Example03 - Grey filter Example04 - Perspective rendering of a cube Example05 - Phong rendering of a spher
OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL
Example06 - Texturing of a cube Example07 - Normal mapping Example08 - Environment/cube mapping Example09 - GPU Particles Example10 - Geometry Shader
OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL
Example11 - Reflection and Refraction Example12 - Shadow mapping Example13 - Simple tessellation (OpenGL 4.1) Example14 - Terrain Rendering (OpenGL 4.1) Example15 - Water Rendering
OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL
Example16 - Model loading and rendering Example17 - Clipping planes and two sided rendering Example18 - Using stencil buffer and clipping planes Example19 - Render to texture and planar reflection Example20 - Texture matrix, alpha blending and discarding
OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL
Example21 - Compute Shader (OpenGL 4.3) Example22 - Shadow volumes Example23 - Displacement mapping (OpenGL 4.1) Example24 - Erode effect using perlin noise Example25 - Model with groups and materials
OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL OpenGL 3 and OpenGL 4 with GLSL
Example26 - Fur rendering Example27 - Projection shadow for directional light Example28 - Screen Space Ambient Occlusion (SSAO) (OpenGL 4.1) Example29 - CPU ray tracing Example30 - GPU ray tracing using compute shader (OpenGL 4.3)

The full source code with VS2008 built version could be download from here.