28 lines
729 B
V Shell
Executable File
28 lines
729 B
V Shell
Executable File
//asm
|
|
#define maxTextureCoordinate 1
|
|
#define vTextureCoordinateSetMAIN vTextureCoordinateSet0
|
|
#define vTextureCoordinateSetMASK vTextureCoordinateSet1
|
|
|
|
TARGET
|
|
|
|
#include "vertex_program/modules/registers.inc"
|
|
|
|
|
|
dcl_position0 vPosition
|
|
dcl_normal0 vNormal
|
|
dcl_color0 vColor0
|
|
#include "vertex_program/modules/texture_coordinates.inc"
|
|
|
|
#include "vertex_program/modules/transform.inc"
|
|
#include "vertex_program/modules/lighting_fog_setup.inc"
|
|
#include "vertex_program/modules/fog.inc"
|
|
#include "vertex_program/modules/c_ambient.inc"
|
|
#include "vertex_program/modules/diffuse.inc"
|
|
|
|
mov oT0, vTextureCoordinateSetMAIN
|
|
|
|
#include "vertex_program/modules/env_t1.inc"
|
|
|
|
mov oT2, vTextureCoordinateSetMASK
|
|
|