|
|
|
ShaderX..
Making our graphics card work for us.. |
|
|
|
Shaders - Simple 2
by bkenwright@xbdev.net
// code_1.vsh
vs.1.0
m4x4
oPos, v0, c0 //
v0-Input coordinates
mov
oD0, v5
// v5-Input diffuse colour
|
// code_2.vsh
vs.1.0
m4x4 oPos, v0, c0
mov oD0, c4 // c4 is set to a constant colour
|
|
|
|
|
|
|
|
|
|