Pythonstuff GLSL in English Pythonstuff GLSL auf Deutsch Pythonstuff GLSL Pythonstuff
PythonStuff Home

Vertex Offset Shader for Deformable Objects

The demo program for this topic is still not in a presentable state.

It uses Example 5 - Parallax Mapping with GLSL and adds a vertex shader.

The results currently look like this Pinocchio face:

Vertex Shader Pinocchio Vertex Shader Pinocchio Vertex Shader Pinocchio

What you see is just a sphere (made of triangles) - all the details above and below the surface (with true visibility, even in the silhouette) are created from a texture in the vertex shader.


And on to Example 7 - Anisotropic Specular Highlights - an effect for hair and brushed metal.

Deutschsprachige Version, Start
Impressum & Disclaimer