pouët.net

portability of vertex/pixel shaders?

category: general [glöplog]
 
Hmm anyone know if assembled vertex/pixel shaders in dx are 'portable', as in, are they in a card-neutral format? I'm guessing they prolly are, since a d3dx function is used to gen them. Hmm but it sure would suck if they were not. :(
added on the 2002-07-20 14:31:14 by Factory Factory
instead of supporting vertex and pixel shaders, i think hardware manufacturers should support a color scheme accelerator, to give coders some decent color schemes to play with, and a multisampled taste enhancer to process their 3d scenes with.
added on the 2002-07-20 14:48:08 by _-_-__ _-_-__
factory, yes they are.
and btw, it's a format that noone would want to use in a real card, it's purely designed to be easily convertible to something else (a mad opcode has a 160bit encoding :)
added on the 2002-07-20 16:21:12 by ryg ryg
ryg: good-o, it's vertex shaded intros ahoy then..

knos: well at least there is D3DXCreateTorus().. :)
added on the 2002-07-21 00:23:06 by Factory Factory
http://developer.nvidia.com/Cg
added on the 2002-07-21 02:14:08 by fox fox
factory, not unless you want your intros to go very slowly on a gf2-level card or less..

you can still do a lot of the stuff with fixed-function, and with buffer operations. (perhaps more than you would be led to believe in some circles)..



added on the 2002-07-22 13:17:36 by smash smash
smash: I'll definitely be using vertex shaders, just for the reason that they are interesting and prolly don't cause that much of a slow down on sw-vertex shader cards (as least compared to my own code that would have to do the same things (that is stuff that is above and beyond the ff) ).
As for pixel shaders, well that's another question, since if I used them I would prolly not write fall-backs for non-ps capable cards.
added on the 2002-07-23 00:02:21 by Factory Factory

login