Files
clientdata/vertex_program/terrain_blend2.vsh
T
2018-04-24 13:27:52 -04:00

24 lines
714 B
V Shell
Executable File

//asm
TARGET
#include "vertex_program/modules/registers.inc"
dcl_position0 vPosition
dcl_normal0 vNormal
dcl_color0 vColor0
dcl_texcoord0 vTextureCoordinateSet0
dcl_texcoord1 vTextureCoordinateSet1
dcl_texcoord2 vTextureCoordinateSet2
#include "vertex_program/modules/transform.inc"
#include "vertex_program/modules/lighting_fog_setup.inc"
#include "vertex_program/modules/fog.inc"
#include "vertex_program/modules/ambient.inc"
#include "vertex_program/modules/diffuse.inc"
#include "vertex_program/modules/vertex_diffuse.inc"
// -- set up diffuse texture coordinates
mov oT0.xy, vTextureCoordinateSet0
// -- set up normal map texture coordinates
mov oT1.xy, vTextureCoordinateSet2