Archived

This topic is now archived and is closed to further replies.

necromancer_df

swanky dx8/9 features in gl?

Recommended Posts

so is it possible to implement all the cool features from dx8 and like such as programming pixel shaders and stuff. i haven;t been able to find any tutorials on and wondered whether or not it was possible in current versions of opengl?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
quote:
Original post by necromancer_df
so is it possible to implement all the cool features from dx8 and like such as programming pixel shaders and stuff. i haven;t been able to find any tutorials on and wondered whether or not it was possible in current versions of opengl?


Yes it is possible, try developer.nvidia.com i think. They have an SDK for pixel shaders. I think ATI do too.

Share this post


Link to post
Share on other sites
yeah, except in gl you have to deal with extensions and two implementations (ie shader languages). one for nvidia cards (geforce) and one for ati cards (radeons).

Share this post


Link to post
Share on other sites
Take a look at Cg. It''s nvidia''s high level shading language and can be used with DirectX or OpenGL. It (apparently) works on nVidia cards, but AFAIK there isn''t an ATi implementation yet. There''s some debate as to whether that, or the proposed OpenGL2.0 HLSL should be adopted into OpenGL2.0, but either way, it looks like we''re going to have a high level, hardware independant way of accessing pixel and vertex shaders pretty soon.

____________________________________________________________
www.elf-stone.com

Share this post


Link to post
Share on other sites