Description: Stock Effects for XNA 4.0
Stock effects provides source code for the five effects (BasicEffect, SkinnedEffect, EnvironmentMapEffect, DualTextureEffect, and AlphaTestEffect), and the default shader used by SpriteBatch (SpriteEffect), built into the XNA Framework.
There also is a command-line utility (CompileEffect) that uses the Content Pipeline to compile a .fx source file into a binary blob that can be passed directly to the XNA Framework Effect class constructor.
To Search:
File list (Check if you may need any files):
StockEffects\CompileEffect
............\.............\app.config
............\.............\CompileEffect.csproj
............\.............\CustomImporterContext.cs
............\.............\CustomLogger.cs
............\.............\CustomProcessorContext.cs
............\.............\Program.cs
............\.............\Properties
............\.............\..........\AssemblyInfo.cs
............\Microsoft Permissive License.rtf
............\Readme.docx
............\readme.htm
............\StockEffects
............\............\C#
............\............\..\AlphaTestEffect.cs
............\............\..\BasicEffect.cs
............\............\..\DualTextureEffect.cs
............\............\..\EffectHelpers.cs
............\............\..\EnvironmentMapEffect.cs
............\............\..\SkinnedEffect.cs
............\............\..\SpriteEffect.cs
............\............\HLSL
............\............\....\AlphaTestEffect.fx
............\............\....\BasicEffect.fx
............\............\....\Common.fxh
............\............\....\DualTextureEffect.fx
............\............\....\EnvironmentMapEffect.fx
............\............\....\Lighting.fxh
............\............\....\Macros.fxh
............\............\....\SkinnedEffect.fx
............\............\....\SpriteEffect.fx
............\............\....\Structures.fxh
............\............\Properties
............\............\..........\AssemblyInfo.cs
............\............\Resources.Designer.cs
............\............\Resources.resx
............\............\StockEffectsWindows.csproj
............\............\StockEffectsXbox.csproj
............\StockEffectsWindows.sln
............\StockEffectsXbox.sln