Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ps.1.4
- def c0, 0.3, 0.6, 0.1, 1
- def c1, 0, 0, 0, 1
- def c2, 1, 1, 1, 1
- texld r0, t0
- mov r2, r0
- cnd r1, r0,c2,c1
- cmp r0.rgb, r1_bias,c2,r0
- mul r0.rgb, r0,r2
- dp3_sat r1.rgb, r0,c0
- lrp r0.rgb, c0.g,r0,r1
- mul r0.rgb, r0,v0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement