Sei sulla pagina 1di 2

Vertex Shader Input BINORMAL[n] Binormal

Description

Type float 4 !int float float 4 float 4 float 4 float 4 float float 4 float 4 Type float 4 float float 4 float float float 4

BLENDINDICES[ Blend indice n] BLEND"EI#$%[ Blend &ei'ht n] COLOR[n] NORMAL[n] *OSI%ION[n] *OSI%ION% *SI.E[n] %AN#EN%[n] %E0COORD[n] Output COLOR[n] 1O# Diff! e and (ec!lar color Normal )ector Vertex (o ition in o+,ect (ace%ran formed )ertex (o ition*oint i/e %an'ent %ext!re coordinate Description Diff! e or (ec!lar color

Vertex fo' *o ition of a )ertex in homo'eno! (ace- Com(!te (o ition in creen2 (ace +3 di)idin' 4x535/6 +3 &- E)er3 *OSI%ION[n] )ertex hader m! t &rite o!t a (arameter &ith thi emantic*SI.E *oint i/e %ESS1AC%OR[n] %e ellation factor %E0COORD[n] Pixel Shader Input COLOR[n] Description Diff! e or (ec!lar color%ext!re coordinate

%E0COORD[ %ext!re coordinate n] 1loatin'2(oint calar that indicate a +ac72facin' (rimiti)eV1ACE A ne'ati)e )al!e face +ac7&ard 5 &hile a (o iti)e )al!e float face the camera%he (ixel location 4x536 in creen (ace- %o con)ert a float V*OS Direct8D 9 hader 4that ! e thi emantic6 to a Direct8D :; = hader5 ee Direct8D 9 V*OS and Direct8D :; SV<*o ition6

Type float 4 float 4

Output COLOR[n] DE*%$[n] O!t(!t color O!t(!t de(th

Description

Type float 4 float

Potrebbero piacerti anche