XNA Creators Club Online

détails de l’échantillon

Shader Series 1: Vertex Lighting
Échantillon
envoyé
2007-04-26

Description:

This sample shows one of the most basic uses of shader effects — vertex lighting.

Sample Overview

This sample explores the diffuse and ambient lighting models and combines them into a simple first-step shader. Additionally, basic XNA Framework Effect code is explored to show how the C# source code interacts with the effect files.

Other items in the Shader Series

téléchargements
Framework

GS 2.0

Version Vertex Shader

VS 2.0

Version Pixel Shader

PS 2.0

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