A method and computer program product are provided for generating a shader
program. Initially, a file associated with a graphics effect is a
selected. Such file is then read and processed. A shader program is
subsequently generated based on the processing of the file to apply the
graphics effect to an object.