FurMark
Current Version: 1.7.0
»FurMark
»Benchmark Submissions

GPU Caps Viewer
Current Version: 1.8.2
»GPU Caps Viewer
»GPU DB Submissions

My Account



Blogs
»Demoniak3D Blog
»JeGX's Infamous Lab

Link to Us

oZone3D.Net 100% Realtime 3D

»All Site's Network

Visitors Map

 
The Art of Texturing Using The OpenGL Shading Language

By Jerome Guinot aka 'JeGX' - jegx [at] ozone3d (dot) net

Initial draft: April 15, 2006


[ Index ]

Introduction | Page 2 | Page 3 | Page 4 | Page 5 | Page 6 | Page 7 | Page 8 | Conclusion

»Next Page



Stumble it! | | | |


GLSL Texturing Tutorial


1 - Introduction

2 - Simple Texturing

3 - Multi Texturing

4 - Environment Mapping

4.1 - Spherical Environment Mapping

4.2 - Dual Paraboloid Environment Mapping

4.3 - Cube Environment Mapping

5 - Special Textures

5.1 - Gloss Maps

5.2 - Alpha Maps

6 - Texture Warping

7 - Textures Rectangles

8 - Projective Texture Mapping

9 - Conclusion

10 - Further Reading

11 - Downloads




Required knowledge



1 - Introduction

The aim of this tutorial is to show how to implement the main techniques of texture mapping in GLSL (OpenGL Shading Language). Simple texturing, multitexturing, environment mapping (sphere, dual paraboloid and cube), texture warping, projective texture mapping as well as some examples of special textures (alpha and gloss maps) will be studied.

We will focus on texturing in the pixel shader (Pixel Texture Fetching - PTF). Texturing using vertex shader (or Vertex Texture Fetching - VTF) has been discussed in a previous tutorial: Vertex Displacement Mapping.

We will use the Demoniak3D Demo-System in order to quickly code the demos and GLSL shaders.

The texturing being a quite complex domain with infinite possibilities particularly with the use of realtime shaders, this tutorial wants before all to be an introduction to the basic techniques which, once mastered, will allow to approach all others with serenity.

Before diving into code, I would like to thank Delilah to have let me use (and warped in passing) some of her productions (in the simple and multitexturing, sphere env mapping, texture warping and texture rectangle parts). Grazie tante Delilah, ed in bocca al lupo per i tuoi esami, ce la farai, sei bravissima!

OpenGL.org





[ Index ]

Introduction | Page 2 | Page 3 | Page 4 | Page 5 | Page 6 | Page 7 | Page 8 | Conclusion

»Next Page







Language:

3D Graphics Search Engine:

The Geeks Of 3D



Geeks3D News


HackLAB News

Demoniak3D
Current Version: 1.23.0
»Demoniak3D
»Download
»Libraries and Plugins
»Demos
»Online Help - Reference Guide
»Codes Samples


PhysX FluidMark
Current Version: 1.1.1
»PhysX FluidMark
»Benchmark Submissions



Misc
»Texture DataPack #1
»Asus Silent Knight CPU Cooler
Page generated in 0.067018985748291 seconds.