XSI and user frame buffers 2004-05-29 - By Andras Ikladi
Back Guy Rabiller wrote:
> Hey Jim, > > this is an old message from Dave Lajoie: > > > any shader can have a frame buffer statement like this > > upon using the shader in a scene, it will instruct MR > > to make those frame buffer available for the shader. > > > > phenomenon "myshader_declare" > > { > > ... > > output options = "rgba,tag,z"; > > output options = "rgba+,tag,z+"; > > output options = "fb0,rgba+,z+"; > > ... > > } > > > > The string is the exact same thing as the mi file definitin for frame > > buffers. > I still don't get how to set the file format and filename however, but > at least a frame buffer is created and available. > > Does it helps ?
Oh, thanks a lot for this tip, i tought there is no such way. Question arises tough..is it possible to also pass other code into the generated mi file (or calls) or is it just specific for framebuffers? Would be cool to have this extended into a generic solution.
Andras
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|