!!ARBvp1.0 # simple vertex shader to unwrap any shape with texture coordinates to # fill the screen to grab into a new texture PARAM scale = {61,61}; OUTPUT noiseInput = result.texcoord; # pass scaled texture coordinate through as noise coordinate MUL noiseInput, vertex.texcoord, scale; MOV noiseInput.w, 1; # Fill screen MAD result.position,vertex.texcoord,{4,4,0},{-2,-2,1}; END