www.xbdev.net
xbdev - software development
Thursday March 28, 2024
home | contact | Support | ShaderX.. Making our graphics card work for us..
>>
     
 

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
 

 

 

 

 

 

 

 
Advert (Support Website)

 
 Visitor:
Copyright (c) 2002-2024 xbdev.net - All rights reserved.
Designated articles, tutorials and software are the property of their respective owners.