📄 pointlight.psh
字号:
ps.1.1
;Needed for the complement
def c0, 1.0, 1.0, 1.0, 1.0
;This is the light texture
tex t0
;This is the same texture, but this shader only uses the
;alpha channel
tex t1
sub r0, c0, t0
sub r0, r0, t1.a
mul r0, r0, v0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -