www.xbdev.net
xbdev - software development
Tuesday February 18, 2025
Home | Contact | Support | ShaderX.. Making our graphics card work for us..
>>
     
 

ShaderX..

Making our graphics card work for us..

 

Shaders - Simple 4 - Textures

by bkenwright@xbdev.net



Minimal working shader assembly program (vertex shader assembly).

// code_1.vsh
vs.1.0

// Transform our coordinates
m4x4             oPos,    v0,    c0    // v0-Input coordinates

// Texture pass through
mov               oT0.xyv7            // v7-Texture Input


The simple example uses the vertex register (v0,v7) and the constant registers (c0) to add transform and texture to the output.


Resources & Links


Details for the registers/layout shader assembly






 
Advert (Support Website)

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