Archived

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

Ideas for pixel shaders

This topic is 5671 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Well I was learning how to use pixel shaders, and was wondering what ideas some people here have come up with (using shaders in general, not just shader)

Share this post


Link to post
Share on other sites
Take a look at the nVidia effects browser, the ATI whitepapers, and other resources.

Also, my book "Real time rendering tricks and techniques in DirectX" is primarily about shaders.

People seem to be coming up with new ideas on a daily basis...

Share this post


Link to post
Share on other sites
I can''t see 60% of the effects in the effects browser since i don''t have a card with hardware T&L. Also yes, I did set it to use the ref device.. but I guess it''s just shotty programming.

Share this post


Link to post
Share on other sites
you can do some very interesting things by treating textures as functions that feed into the shader instead of simply a visual texture.

This is the crux of many of the new ideas.

Share this post


Link to post
Share on other sites
quote:
Original post by hello2k1
I can''t see 60% of the effects in the effects browser since i don''t have a card with hardware T&L. Also yes, I did set it to use the ref device.. but I guess it''s just shotty programming.



To make the reference device work:

a) you have to hav the *DEBUG* D3D runtimes enabled (you get the option when installing the SDK).

b) you need to ensure the device is enabled in the control panel.


Beware though that for some of the samples in the NVSDK you''ll get less than 1 frame per second - so it might appear it isn''t working, but it is.



As for shaders in general, and what has been done, take a look at Renderman (http://www.renderman.org/RMR/RMRShaders.html).

Generally a subset of the RenderMan shaders is the direction many 3D hardware manufacturers are heading (can''t say more/who due to NDAs...)


--
Simon O''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites
a) check
b) check

I always have REF mode and debug mode enabled. If I didn''t, I wouldn''t be able to debug my pixel shader app I have also checked off the "Use Reference Device" menu item under Options->D3D.
Have you actually gotten the examples to work using a GF2 MX? Some of the examples work, but most don''t (eg. "Brushed Metal v2.0") Also, do you think they might be OpenGL apps? If they are, does OpenGL have a sort of REF device?

Share this post


Link to post
Share on other sites
I have a GF2 MX and I have the same problem, I have debug and REF enabled, but they are stilled greyed out in the menu, any help from someone who has done this before?

Share this post


Link to post
Share on other sites
Hmmm... my laptop is a GF2MX (GF2Go is the same chip) and I haven''t had any problems with the ones I''ve tried. I don''t have the brushed metal handy to try, so I can''t check at the moment.

How don''t they work? Do they crash? do they put garbage on the screen? etc. Remember, they are very slow in ref, so you might not see anything for awhile.

Please let us know exactly what''s happening.

Share this post


Link to post
Share on other sites