Technical Samples      Tutorials     Web Player Commands     Demo
Technical Samples

2D Interface
Grids
Material Effects
Particles
Particle Deflectors
Particle Interactors
Shaders
VSL

Shaders: Programmable Vertex Shaders and Pixel Shaders

Warning: You must have DirectX 9.0+ and a Shader Compliant Graphic Card for these demos.
See the Dev Online Reference for more details
.


1_States

 

01_Unicolor.cmo

Simple sample linking a State to an external parameter.


 

02_Basic.cmo

Simple sample showing: basic State modification, difference between Static and Exposed variables and an example of Annotations in Virtools.


 

03_MeshLighting.cmo

Simple sample showing Vertex Sprite rendering.


 

04_Voxel.cmo

Simple sample showing a voxel effect.


 

EnvMap.cmo

Simple sample showing Environment mapping with just a few States.


 

Fog.cmo

Simple sample using the different FOG render states and the "Set Shader Parameter" BB.


 

TwoPassShader.cmo

Sample using a 2 pass render-state shader to render an objet as solid and wireframe.


 

VertexColor+Normals.cmo

Show how vertex color and vertex data can be used together.



2_Vertex Shader


 

Edge + Sinus.cmo

Simple vertex shader.


 

Fur.cmo

Fur shader using multiple passes.


 

Extended Vertex Data - 02.cmo

Show how extended vertex data can be used.



3_Pixel Shader


 

LightNSepia.cmo

Simple Gouraud shading and Sepia rendering using vertex and pixel shader.


 

Sketch.cmo

Sketch shader using 4 textures.


 

MetallicCartoon.cmo

Pixel Shader for cartoon rendering with metal effect.


 

PerPixelLighting.cmo

Demonstrate various per pixel lighting shaders.


4_Advanced

 

Castle_PostProcessing.cmo

Sample of different post processing effects with a little script to test that the machine configuration is capable of displaying the results.


 

Blur&Bump.cmo

Applies a distortion on a rendering based on a bump map.


 

Castle_MotionBlur.cmo

Sample of motion blur with a little script to test that the machine configuration is capable of displaying the results.


 

TS_SkinningShader.cmo

Sample of hardware skinning shader for models with max 1 to 4 bones per vertex.


 

Water.cmo

Water effect using shader Assembly code.


 

Displacement.cmo

Vertex Displacement using texture lookup.


 

FloatTexture.cmo

Floating point texture.


 

FloatCubeTexture.cmo

Floating point cube texture.


 

TextureShader.cmo

Sample of texture shader and texture annotations usage.


 

VolumeTextureShader.cmo

Sample of volume texture shader usage.


 

MRT.cmo

Sample of multiple render targets usage.


 

DXSAS.cmo

Sample of dropped in shaders using DXSAS.

Shaders