mirror of
https://bitbucket.org/seefoe/clientdata.git
synced 2026-07-31 01:16:51 -04:00
26 lines
754 B
V Shell
Executable File
26 lines
754 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/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, vTextureCoordinateSet3
|
|
|