⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 twosided.nvp

📁 游戏编程精华02-含有几十个游戏编程例子
💻 NVP
字号:
;
; 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -