twosided.nvp
来自「游戏编程精华02-含有几十个游戏编程例子」· NVP 代码 · 共 24 行
NVP
24 行
;
; Pixel shader
#include "TwoSided.h"
; Declare pixel shader version 1.0
ps.1.0
tex t0 ; decal texture
tex t1 ; back illuminination texture
mul r0, t0, v0 ; v0 = ambient + diffuse for front facing illumination
mad r0, t1, v1, r0 ; back facing ambient + diffuse + front facing illum
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?