X3D Example Archives: Basic, Shaders

Directory Viewpoint Slideshow

Shaders are special programs that interact directly with graphics hardware for special effects using light, darkness, and color within a model's appearance.

A programmable shader allows authors to directly specify how an object is rendered by providing a method of programmatically modifying sections of the rendering pipeline. This allows replacement of the traditional fixed-function graphics API pipeline to support visual effects that typically cannot be implemented using other node components in this standard.

These example scenes illustrate the X3D Programmable Shaders Component. Unfortunately, unlike X3D, shader languages are typically hardware-specific and not interoperable across different platforms. Mutually compatible X3D interfaces and syntax are defined for the OpenGL shading language (GLSL) binding, Microsoft high level shading language (HLSL) binding and the nVidia Cg shading language binding.

2 X3D Models                 X3D Model Viewpoint Snapshots

Flutter
Flutter.x3d    
[1] Flutter.x3d Pool of Water
[2] Flutter.x3d (default X3D view from 0 0 10)

SimpleShader
Simple Shader.x3d    
[3] SimpleShader.x3d (default X3D view from 0 0 10)
 

This viewpoint slideshow is online at
https://www.web3d.org/x3d/content/examples/Basic/Shaders/viewpointSlideshow.html

Validate XHTML 1.1

Viewpoint image version history at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/Shaders/_viewpoints