simplefog.h
来自「游戏编程精华02-含有几十个游戏编程例子」· C头文件 代码 · 共 44 行
H
44 行
/*********************************************************************NVMH2****
Path: C:\DEV\devrel\NV_SDK_4\DX8\NVEffectsBrowser\Effects\SimpleFog
File: SimpleFog.h
Copyright (C) 1999, 2000 NVIDIA Corporation
This file is provided without support, instruction, or implied warranty of any
kind. NVIDIA makes no guarantee of its fitness for a particular purpose and is
not liable under any circumstances for any damages or loss whatsoever arising
from the use or inability to use this file or items derived from it.
Comments:
******************************************************************************/
#define CV_ZERO 0
#define CV_ONE 1
#define CV_WORLDVIEWPROJ_0 2
#define CV_WORLDVIEWPROJ_1 3
#define CV_WORLDVIEWPROJ_2 4
#define CV_WORLDVIEWPROJ_3 5
#define CV_LIGHT_COLOR 19
#define CV_ONE_OVER_LIGHT_RANGE 20
#define CV_LIGHT_POS_OSPACE 21
#define CV_EYE_POS_OSPACE 22
#define CV_EYE_VECTOR 23
#define CV_LIGHT_CONST 24
#define CV_FOGPARAMS 25
#define CV_HEIGHT_FOG_PARAMS 26
// Pixel shader defines
#define CP_HEIGHT_FOG_COLOR 0
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?