Check out and contribute to CodePedia, the wiki for developers.

What is Shader Model 4.0?

Shader Model 4.0 [SM 4.0] - the new shader model provided with DirectX 10 - consists of three programmable shaders: Vertex Shaders (VS), Pixel Shaders (PS) and Geometry Shaders (GS). All shader stages offer the same base functionality, which is implemented by the Shader Model 4.0 Common Shader Core. In addition to the base each of the three shader stages (vertex, geometry, and pixel) offers some unique functionality only to that stage. Shaders in earlier models could be authored in an intermediate assembly language. With SM 4.0 shaders are only authored in DirectX High Level Shader Language [HLSL]. Offline compilation of shaders into byte code is still supported and recommended.

FAQ menu
 

Other Views

corner
Popular resources and forums for programmers on Programmersheaven.com
Assembly, Basic, C, C#, C++, Delphi, Java, JavaScript, Pascal, Perl, PHP, Python, Ruby, Visual Basic
© Copyright 2009 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Publisher: Lars Hagelin. Read the latest words from the publisher here.
Be the first to sign up for Lars Hagelin’s In-depth Outsourcing Newsletter here.
bootstrapLabs Logo A bootstrapLabs project.