Current version: 0.16.x
»GeeXLab homepage

Current version: 1.19.0
»FurMark homepage
»FurMark 1.9.x Submissions

GPU Caps Viewer
Current version:
»GPU Caps Viewer homepage
»GPU DB Submissions

GPU Shark
Current version:
»GPU Shark homepage

»JeGX's HackLab

Geeks3D's Articles
»GPU Memory Speed Demystified

»Multi-Threading Programming Resources

»GeForce and Radeon OpenCL Overview

»How to Get your Multi-core CPU Busy at 100%

»How To Make a VGA Dummy Plug

»Night Vision Post Processing Filter

PhysX FluidMark
Current version: 1.5.2
»FluidMark homepage
»FluidMark 1.4.x Submissions

Current version: 0.3.0
»TessMark homepage

Current version: 0.3.0
»ShaderToyMark homepage
»ShaderToyMark Scores

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

3D Graphics Search Engine:

The Geeks Of 3D

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!

[ Index ]

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

»Next Page

GeeXLab demos

GLSL - Mesh exploder

PhysX 3 cloth demo

Normal visualizer with GS

Compute Shaders test on Radeon

Raymarching in GLSL

Geeks3D latest news

Geeks3D forum news

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