Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Shader Designer Examples

Shader Designer Examples

The articles in this section of the documentation contain examples that demonstrate how you can use the Shader Designer to create various graphics effects.

How to: Create a Basic Color Shader

Demonstrates a shader that applies a constant color to an object.

How to: Create a Basic Lambert Shader

Demonstrates a shader that applies the classic Lambert lighting model to an object.

How to: Create a Basic Phong Shader

Demonstrates a shader that applies the classic Phong lighting model to an object.

How to: Create a Basic Texture Shader

Demonstrates a shader that applies a texture to an object.

How to: Create a Grayscale Texture Shader

Demonstrates a shader that converts a texture to grayscale during rendering and applies it to an object.

How to: Create a Geometry-Based Gradient Shader

Demonstrates a shader that modulates a color based on the geometry of an object and applies it to the object.

Walkthrough: Creating a Realistic 3-D Billiard Ball

Demonstrates how to combine shader techniques and texture resources to create a realistic billiard ball shader.

How to: Export a Shader

Explains how to export a DGSL shader in a format that your app can use.

Show:
© 2015 Microsoft