Xbox LIVE Indie Games

development tool details

SpriteBatch Shader (ARCHIVED)

Submitted
8/15/2008
Tool

Note: This item is no longer supported. This effect code is now provided as part of the Stock Effects Sample for XNA Game Studio 4.0.

Description:

The SpriteBatch shader represents the source code for the drawing functionality of the SpriteBatch object in the XNA Framework. It is provided as HLSL source code in a .fx file, along with an instructional document that describes the workings of the shader and how you can integrate it into your XNA Game Studio project.

Utility Overview

This HLSL code is provided for educational purposes. It may be a useful starting point when you create more advanced shaders of your own. You can achieve many advanced graphical effects by using SpriteBatch alongside a custom pixel shader without needing to change the vertex shader. The vertex shader is heavily optimized for both Windows and Xbox 360 and may be more difficult to extend.



All content and source code downloaded from this page is bound to the Microsoft Permissive License (Ms-PL).

downloads

Framework

GS 2.0

find education content
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG