📄 world.nvp
字号:
/************************************************************************
World.nvp
Use texture coordinates to look up the circle-of-confusion interpolator
and store it in dest-alpha. Output color is simply tex0 color.
Copyright (C) 1999, 2000 NVIDIA Corporation
*************************************************************************/
ps.1.1
def c0, 1.0f, 0.0f, 0.0f, 0.0f
tex t0 ; get color from first texture stage
tex t1 ; t1 holds the circle-of-confusion interpolator look-up
; select the r (x) component, replicate it across all channels, and
; store the proper circle-of-confusion interpolator in dest alpha!
dp3_sat r0.rgba, t1, c0
; and use texture 0 as current color
mov_sat r0.rgb, t0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -