// t0: skin
// t1: bump
// t2: envmap

ps_1_1

// henter inn skin-teksturen
tex t0

// henter inn bumpmap-normalen
tex t1

// henter inn caustics basert p bumpmap-normalen
texbem t2, t1


// legger til caustics
add r0, t0, t2
mul r0, r0, v0