Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/shaders/arb/los_interp.fp
!!ARBfp1.0 | !!ARBfp1.0 | ||||
ATTRIB v_los = fragment.texcoord[0]; | ATTRIB v_los = fragment.texcoord[0]; | ||||
PARAM delta = program.local[0]; | PARAM delta = program.local[0]; | ||||
TEMP los1_tex; | TEMP los1_tex; | ||||
TEMP los2_tex; | TEMP los2_tex; | ||||
TEX los1_tex, v_los, texture[0], 2D; | TEX los1_tex, v_los, texture[0], 2D; | ||||
TEX los2_tex, v_los, texture[1], 2D; | TEX los2_tex, v_los, texture[1], 2D; | ||||
TEMP smoothing; | TEMP smoothing; | ||||
MOV_SAT smoothing, delta.x; | MOV_SAT smoothing, delta.x; | ||||
LRP result.color.a, smoothing, los1_tex.a, los2_tex.a; | LRP result.color, smoothing, los1_tex.rrrr, los2_tex.rrrr; | ||||
END | END |
Wildfire Games · Phabricator