21.06.2014 Views

Introduction to GLSL - OpenGL

Introduction to GLSL - OpenGL

Introduction to GLSL - OpenGL

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Programmable Function Scheme<br />

Programmable Fragment Processors<br />

Cus<strong>to</strong>m texture application,<br />

Cus<strong>to</strong>m pixel data combinations,<br />

Bump/parallax mapping<br />

NPR, GPGPU,<br />

Advanced lighting effects<br />

Programmable<br />

Vertex<br />

Processors<br />

T&L cus<strong>to</strong>m<br />

computations:<br />

Per-pixel lighting,<br />

displacement<br />

mapping,<br />

particle systems,<br />

etc.<br />

Input:<br />

Vértices<br />

T&L fixed<br />

computations<br />

Coordinate<br />

transformation<br />

<strong>to</strong> viewport<br />

system<br />

Geometry<br />

Stage<br />

(pervertex<br />

level)<br />

R<br />

A<br />

S<br />

T<br />

E<br />

R<br />

I<br />

Z<br />

A<br />

T<br />

I<br />

O<br />

N<br />

Input:<br />

Textures<br />

Fixed texture<br />

stages<br />

Final perfragment<br />

computations<br />

Fog<br />

Alpha test<br />

Depth test<br />

Raster<br />

Stage<br />

(per-pixel<br />

level)<br />

Output<br />

<strong>to</strong><br />

framebu<br />

ffer<br />

TyphoonLabs’ <strong>GLSL</strong> Course 7/29

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!