Login    You have 0 item(s) in your Shopping Cart  

 
 
previous | up | next 
Pixel Shader


 E-mail this product to a friend

Author:  TheTutor

Contained inside of this tutorial, is an introduction to pixel shaders with the use of effect files and HLSL.  The tutorial begins with a brief historical background to shaders and some defining of shader terminology.  Next, a vertex shader and pixel shader are implemented and used to draw a spinning textured cube to the screen.

Functions/Methods Used:  Direct3DCreate9(), D3DXCreateEffectFromFile(), assert()

IDirect3D9::  CreateDevice(), Release()

IDirect3DDevice9::  BeginScene(), EndScene(), SetFVF(), DrawPrimitiveUP(), Clear(), Release()

ID3DXEffect:: Begin(), End(), BeginPass(), EndPass(), SetTechnique(), SetMatrix(), SetFloat(), Release()

ID3DXBuffer:: GetBufferPointer()

HLSL:  mul(), tex2D()


 
 
 


 GameTutorials Software
 C Tutorials
 C++ Tutorials
 C# Tutorials
 Java Tutorials
 Win32 Tutorials
 Direct3D Tutorials
 OpenGL Tutorials
 Recent Tutorials
 Free Tutorials



Get All 350+ Tutorials Now!


                                                              Main  |  FAQ  |  Terms of Use  |  Links Contacts Forums