excited about shaders!

Started by
17 comments, last by angrytofu 21 years, 7 months ago
ok. you have a piece of source code that uses pixel shaders I can try out?
http://www.mattherb.com now with CATCAM!
Advertisement
I thought Pixel Shading was not possible with a gf2, simply because the gf2 is a dx7 card and pixel shaders only work with dx8 cards, ...but opengl...well, I''m so confused about dx and opengl features anyway, so don''t ask me

I''m a proud owner of a gf2 card and I actually downloaded the cg toolkit too. but i didn''t get far. just to the introduction of the cg manual and nvidia''s cool looking effect browser. (damn those refraction demos are sweet) so for me too, is there a an easy way to get started on vertex shaders using delphi???
You can do nearly anything nearly anywhere if you use the REF device.

For a sample, see the "MFCPixelShader" sample that comes with the SDK. You will see both shaders and an app that falls back to the REF device.
Author, "Real Time Rendering Tricks and Techniques in DirectX", "Focus on Curves and Surfaces", A third book on advanced lighting and materials
Yep, that''s kinda the point of the reference device.


Read about my game, project #1
NEW (13th August): A new screenshot is up, plus diaries for week #3

John 3:16
i dunno.. I got one example that uses a pixel shader but it seems to just ignore it

anyone out ther ewith a geforce2 get a pixel shader demo running let me know
http://www.mattherb.com now with CATCAM!
your right.. the mfcpixel demo DOES work

what tools are there or coming out that will hlep you generate the CG code in a more friendly way.. ?
http://www.mattherb.com now with CATCAM!
You can use pixel shaders on GF2 hardware via the GL_NV_register_combiners extension. Granted, you only get two general combiner stages ( instead of 7 on a GF3/4 ), and the NV_register_combiner2 or NV_texture_shader{n} extensions aren''t supported, but it''s enough to get a decent dot3 bumpmapping application running.

Death of one is a tragedy, death of a million is just a statistic.
If at first you don't succeed, redefine success.
I never knew that! I presume this limited functionality is what allows DX to offer DOT3 as a texture operation on the GF2, but not the normal (crap) DX method of bump-mapping.


Read about my game, project #1
NEW (13th August): A new screenshot is up, plus diaries for week #3

John 3:16
The register combiner functionality isn''t exposed to Direct3D at all.

Death of one is a tragedy, death of a million is just a statistic.
If at first you don't succeed, redefine success.

This topic is closed to new replies.

Advertisement