Export (0) Print
Expand All

"How To" Articles

Describes step-by-step procedures for certain 3D graphics techniques.

In This Section

How To: Check for Shader Model 2.0 Support
Demonstrates how to find out whether a graphics card supports Shader Model 2.0.
How To: Enable Antialiasing (Multisampling)
Demonstrates how to use the GraphicsDeviceManager to enable antialiasing for your game. The CheckDeviceMultiSampleType method determines what kind of antialiasing your game computer supports.
How To: Use BasicEffect
Demonstrates how to create and initialize an instance of BasicEffect, initialize a vertex buffer that can be rendered by BasicEffect, apply the effect, and render the geometry.
How To: Render a Model
Demonstrates how to load and render a model using the XNA Framework Content Pipeline.
How To: Create and Use a Custom Vertex
Demonstrates how to create a custom vertex and use it to render a 3D primitive object.
How To: Draw Points, Lines, and Other 3D Primitives
Demonstrates how to draw points, lines, and other 3D primitives.
How To: Create and Apply Custom Effects
Demonstrates how to create a simple effect to set the diffuse color and world, view, and projection transformation of a 3D object.
How To: Draw a Model with a Custom Effect
Demonstrates how to load a Model file and draw the Model using a custom Effect without modifying the Content Pipeline.
How To: Create Custom Texture Effects
Demonstrates how to create an effect to apply a texture to a 3D primitive object.
How To: Draw a Textured Quad
Demonstrates how to create and draw a simple quad using DrawUserIndexedPrimitives.
How To: Use Viewports for Split Screen Gaming
Demonstrates how to use the Viewport property to display different scenes to different parts of the screen.
How To: Create a SkySphere
Demonstrates how to create an effect that will apply a skybox-style TextureCube ("cube map") to a sphere.
How To: Draw a Shadow
Demonstrates how to draw a shadow using Matrix.CreateShadow and the stencil buffer.
How To: Use EffectParameters and EffectTechniques
Demonstrates how to use EffectParameters objects to interact with effect variables, and to use EffectTechniques to access different techniques in an Effect.
How To: Create a Depth Texture
Demonstrates how to create a texture that contains depth information for a scene using a customized RenderTarget2D, DepthStencilBuffer, and a simple Effect.
How To: Implement Shadow Mapping
Demonstrates how to use depth textures (that is, shadow maps) to create dynamic shadows in a scene.

Community Additions

ADD
Show:
© 2014 Microsoft