PDA

View Full Version : shader question


brtnrdr
2005.03.27, 03:53 PM
hey,

i was lookikng at the shaders folder of halo on my computer and the file extensions are .fx.x and .vsh.x, now i know that .vsh is a vertex program file and a .fx file is i'm assuming a fragment program, so is the .vsh.x a compiled vertex program and the same for the fragmen shader?

thanks.

OneSadCookie
2005.03.27, 07:01 PM
Those are not standard extensions.

It's impossible to compile ARB_vertex_program and ARB_fragment_program any further, but I don't know what the original format was -- if they were Cg for example, then the "compiled" versions could be ARBfp and ARBvp...