29 lines
839 B
V Shell
Executable File
29 lines
839 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
|
|
dcl_texcoord3 vTextureCoordinateSet3
|
|
|
|
#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/dot3_diffuse.inc"
|
|
#include "vertex_program/modules/terrain_dot3.inc"
|
|
|
|
// -- set up diffuse texture coordinates
|
|
mov oT0.xy, vTextureCoordinateSet0
|
|
|
|
// -- set up normal map texture coordinates
|
|
mov oT1.xy, vTextureCoordinateSet0
|
|
|
|
// -- setup alpha blend texture coodinates
|
|
mov oT3.xy, vTextureCoordinateSet3
|
|
|