Filter Blur Ps

You might also like

You are on page 1of 1

; Simple blur

; Declare pixel shader version


ps.1.1

; declare constants:
def c1, 0.3f, 0.59f, 0.11f, 0.0f ; luminance conversion constant

; get colors from all 4 texture stages


tex t0
tex t1
tex t2
tex t3

add_d2 r0, t0, t1


add_d2 r1, t2, t3
add_d2 r0, r0, r1

You might also like