Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

A Simple Example
Assembly Language and Compile Targets
Data Types
Type Modifiers
Storage Class Modifiers
Working with Vectors
Type Casting
Math Intrinsics
Texture Sampling Intrinsics
Shader Inputs
Uniform Input
Varying Input
Shader Outputs
An Example Shader
Matrix Data Type Usage
Integer Data Type Usage
Flow Control and Performance
Importance of Input Type Declarations
Precision Issues (logp, expp, lit)
Using the ps_1_x Compile Targets
the ps_1_x compile targets
Strategy for Targeting ps_1_x
Integration into an Engine Using D3DX Effects
Effect Files
The Effect API
The Constant Table
SDK Updates
Features Common to vs_3_0 and ps_3_0
Flexible Input and Output Declarations
Static and Dynamic Flow Control
Arbitrary Swizzle
Destination Write Masks on Texture Instructions
vs_3_0 Features
Texture Sampling
Vertex Stream Frequency
ps_3_0 Features
Unlimited Texture Samples and Dependent Reads
Vertex and Pixel Shaders 2.0
Vertex and Pixel Shaders 3.0
Mathematical Background
Vertex Shader
Pixel Shader 1.4
Pixel Shader 2.0
HLSL Version
Background for Advanced Models
Spherical Coordinates
Roughness of a Surface
Masking and Shadowing
The Oren-Nayar Model
Cook-Torrance Model
Shaders 2.0
Shaders 1.4
Quality Comparison
The Theory behind Fog Calculations
Technique One: Linear Fog
Technique Two: Exponential Fog
Fog Equation
Technique Three: Exponential Squared Fog
Technique Four: Layered Fog
Theory and Equations
Technique Five: Animated Fog
Shadow Algorithm
Depth Bias Problem
Shadow Map Filtering
Shaders for Shadow Map Creation
Shaders for Final Rendering
Shadow Volume Concept
Depth-pass (z-pass)
Depth-fail (z-fail)
Problems and Solutions
Finite Shadow Cover
Ghost Shadow
View Frustum Clipping
Implementation on CPU
How It Is Done
Silhouette Determination
Forming the Shadow Volume
Shadow Volume Capping
Depth-pass Stenciling Operations (DepthPassCPU)
Depth-fail Stenciling Operations (DepthFailCPU)
Rendering Shadow Volume Capping
Implementation on GPU (Shaders)
Preprocessing of Data
Forming Shadow Volume in Shaders
Vertex Shader Implementation (FiniteGPU)
Vertex Shader Implementation (InfiniteGPU)
Better with Shaders?
DirectX 9 HLSL Samples
Efficiency and Robustness
Use Less for More
Cheat Whenever You Can
Fighting the Invisible
Scene Management Inside and Out
Always a Good Switch
Mix and Match
The End
Variable Creation and Management
Predefined RenderMonkey Variables
Stream Mapping Module
Model Management
Managing Effects
Pixel and Vertex Shaders
Editing Shaders
Vertex Shader Setup and Editing
Compiling Your Shaders
Output Window
Shader Assembly or Compilation Errors
Editing Assembly
Pixel Shader Setup and Editing
Preview Window
Editing Variables
Render State Block Management
Texturing in RenderMonkey
Texture Objects
Using Textures with HLSL Shaders
Rendering to a Texture
Render Passes
Renderable Texture Support
Editing a Renderable Texture
Editing a Render Target
Artist Editor
Editing Variables in the Artist Editor Module
Generating Suitable Texture Coordinates
The Influence of “Vertex Weight”
Problems with Non-Convex Surfaces
0 of .
Results for:
No results containing your search query
P. 1
Introductions and Tutorials With DirectX 9

Introductions and Tutorials With DirectX 9

Ratings: (0)|Views: 1,777|Likes:
Published by RayTracer57

More info:

Published by: RayTracer57 on Oct 26, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 8 to 27 are not shown in this preview.
You're Reading a Free Preview
Pages 35 to 105 are not shown in this preview.
You're Reading a Free Preview
Pages 113 to 190 are not shown in this preview.
You're Reading a Free Preview
Pages 198 to 303 are not shown in this preview.
You're Reading a Free Preview
Pages 311 to 393 are not shown in this preview.

Activity (5)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Jamie Mason liked this
ratish kakkad liked this
BrusPulverHest liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->